storage/stream_flash: Fix write_block_size too small
Fix for platforms with write-block-size >= 256 bytes. Fixes #76029 Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
parent
9207def7da
commit
65e679214e
1 changed files with 1 additions and 1 deletions
|
|
@ -65,8 +65,8 @@ struct stream_flash_ctx {
|
|||
#ifdef CONFIG_STREAM_FLASH_ERASE
|
||||
off_t last_erased_page_start_offset; /* Last erased offset */
|
||||
#endif
|
||||
size_t write_block_size; /* Offset/size device write alignment */
|
||||
uint8_t erase_value;
|
||||
uint8_t write_block_size; /* Offset/size device write alignment */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue