fs: add block_is_erased() to check if a block is truly erased
This commit is contained in:
parent
31740bbb20
commit
2448ddcd4e
3 changed files with 33 additions and 0 deletions
3
include/fs/block.h
Normal file
3
include/fs/block.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
int block_is_erased(struct flash_dev *dev, uint32_t addr, uint32_t len);
|
Loading…
Add table
Add a link
Reference in a new issue