Browse Source

adaptation v2.1 block erase cycle

xieyangrun 6 years ago
parent
commit
46bd8138a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dfs_lfs.c

+ 1 - 1
dfs_lfs.c

@@ -34,7 +34,7 @@
 #endif
 
 #ifndef LFS_BLOCK_CYCLES
-    #define LFS_BLOCK_CYCLES 0
+    #define LFS_BLOCK_CYCLES (-1)
 #endif
 
 #ifndef LFS_LOOKAHEAD_MAX