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:24:39 +0300
committerGitHub <noreply@github.com>2019-07-29 05:24:39 +0300
commit0d8ffd6b86e739fc0d52ca59dd03c407fb5374b4 (patch)
tree546090ca991d501a4da147eb02b28d23aa94a8fd
parentc0af471bc181fab1b75c98e0e36b8dc2bea41a56 (diff)
parenteb013e6dd6e1cb26e430c632c762436a81a11522 (diff)
Merge pull request #239 from pabigot/pr/20190723a
lfs: correct documentation on lookahead-related values
-rw-r--r--lfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lfs.h b/lfs.h
index c78b3d6..d09124b 100644
--- a/lfs.h
+++ b/lfs.h
@@ -204,7 +204,7 @@ struct lfs_config {
// Size of the lookahead buffer in bytes. A larger lookahead buffer
// increases the number of blocks found during an allocation pass. The
// lookahead buffer is stored as a compact bitmap, so each byte of RAM
- // can track 8 blocks. Must be a multiple of 4.
+ // can track 8 blocks. Must be a multiple of 8.
lfs_size_t lookahead_size;
// Optional statically allocated read buffer. Must be cache_size.
@@ -216,7 +216,7 @@ struct lfs_config {
void *prog_buffer;
// Optional statically allocated lookahead buffer. Must be lookahead_size
- // and aligned to a 64-bit boundary. By default lfs_malloc is used to
+ // and aligned to a 32-bit boundary. By default lfs_malloc is used to
// allocate this buffer.
void *lookahead_buffer;