Skip to content

Commit 65e6792

Browse files
de-nordicnashif
authored andcommitted
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 <[email protected]>
1 parent 9207def commit 65e6792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/storage/stream_flash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ struct stream_flash_ctx {
6565
#ifdef CONFIG_STREAM_FLASH_ERASE
6666
off_t last_erased_page_start_offset; /* Last erased offset */
6767
#endif
68+
size_t write_block_size; /* Offset/size device write alignment */
6869
uint8_t erase_value;
69-
uint8_t write_block_size; /* Offset/size device write alignment */
7070
};
7171

7272
/**

0 commit comments

Comments
 (0)