Ver Fonte

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.
Roy Kupershmid há 6 anos atrás
pai
commit
4d068a154d
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      README.md

+ 1 - 0
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