From 4d068a154d10f8b40dbda17977a4c016c1193c45 Mon Sep 17 00:00:00 2001 From: Roy Kupershmid Date: Sun, 13 Oct 2019 19:58:11 +0300 Subject: [PATCH] Update README example code in accordance to the block_cycles change An addition to 38a2a8d. When executing the given example in README, you immediately get an assertion error because block_cycles is initiated to 0. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b50dd310..80179833 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ const struct lfs_config cfg = { .block_count = 128, .cache_size = 16, .lookahead_size = 16, + .block_cycles = 500, }; // entry point