mgmt/mcumgr/lib: Use flash_img_bytes_written to check context
The commit replaces direct access to flash_img_context, for the
purpose of checking how much data has been written, with call
to the flash_img_bytes_written.
Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
Loading
Please sign in to comment