Skip to content

Commit

Permalink
apply nickray/littlefs#19 to fix corruption issues
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Jul 11, 2022
1 parent 50a634c commit 99d4373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl<Storage: driver::Storage> Allocation<Storage> {
let block_size: u32 = Storage::BLOCK_SIZE as _;
let cache_size: u32 = <Storage as driver::Storage>::CACHE_SIZE::U32;
let lookahead_size: u32 =
32 * <Storage as driver::Storage>::LOOKAHEADWORDS_SIZE::U32;
4 * <Storage as driver::Storage>::LOOKAHEADWORDS_SIZE::U32;
let block_cycles: i32 = Storage::BLOCK_CYCLES as _;
let block_count: u32 = Storage::BLOCK_COUNT as _;

Expand Down

0 comments on commit 99d4373

Please sign in to comment.