Procházet zdrojové kódy

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 před 6 roky
rodič
revize
4d068a154d
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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