zephyr/subsys/storage/stream
Jonathan Nilsen e1891b3e9a storage/stream: Move fill value handling to flash_sync
Move the code responsible for aligning the flash write by writing fill
values - from stream_flash_buffered_write to flash_sync. This avoids
having to correct buf_bytes/buf_written after the write and thus
simplifies error handling.

This commit also fixes an issue where the write length passed to the
callback in flash_sync includes the fill length.

Signed-off-by: Jonathan Nilsen <Jonathan.Nilsen@nordicsemi.no>
2021-05-08 07:10:31 +02:00
..
CMakeLists.txt
Kconfig storage/stream: Add persistent write progress to stream_flash 2021-04-23 15:01:32 -05:00
stream_flash.c storage/stream: Move fill value handling to flash_sync 2021-05-08 07:10:31 +02:00