Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2019-07-29 05:53:13 +0300
committerChristopher Haster <chaster@utexas.edu>2019-07-29 05:53:13 +0300
commite1f3b90b56c31503473ab19cc1c6b466cc699eff (patch)
treeb3065f1fb5d7ea7f0040191a94ca5ded1a439adb /scripts
parent51fabc672b43a6285bced7e6574989cfc203ebd9 (diff)
parent74fe46de3de98cecdff8681ccd53c481c31352e6 (diff)
Merge remote-tracking branch 'origin/master' into debug-improvements
Diffstat (limited to 'scripts')
-rw-r--r--scripts/template.fmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/template.fmt b/scripts/template.fmt
index b0c74ff..969e198 100644
--- a/scripts/template.fmt
+++ b/scripts/template.fmt
@@ -63,7 +63,7 @@ char path[1024];
#endif
#ifndef LFS_CACHE_SIZE
-#define LFS_CACHE_SIZE 64
+#define LFS_CACHE_SIZE (64 % LFS_PROG_SIZE == 0 ? 64 : LFS_PROG_SIZE)
#endif
#ifndef LFS_LOOKAHEAD_SIZE