subsys/fs/nvs: Move write_block_size to flash_parameters
Pointer to flash_parameters have been added to nvs_fs structure and it is no longer needed to store write_block_size within the nvs_fs. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
parent
609b645ac7
commit
38f623d97c
2 changed files with 16 additions and 12 deletions
|
@ -52,7 +52,6 @@ struct nvs_fs {
|
|||
* sector size should be multiple of pagesize
|
||||
*/
|
||||
uint16_t sector_count; /* amount of sectors in the filesystem */
|
||||
uint8_t write_block_size; /* write block size for alignment */
|
||||
bool ready; /* is the filesystem initialized ? */
|
||||
|
||||
struct k_mutex nvs_lock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue