Skip to content
Commit 25138ff9 authored by Dominik Ermel's avatar Dominik Ermel Committed by Henrik Brix Andersen
Browse files

storeage/stream_flash: Cache write_block_size to ctx on init



The commit caches write_block_size and erase_value to stream flash
context, at init, to avoid calling Flash API multiple times
to get these values at various stages of code exectuion,
at run-time.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 9baf77dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment