Skip to content
Commit 28e60ef7 authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz Committed by Anas Nashif
Browse files

flash/nrf5: fix invalid write access



Requesting a flash_write with a length of 0 results in a flash
position being written. Instead we should return 0 unless there is
some other input parameter that is invalid.

Change-Id: Ife6e6e2314bbee2bde7d0b69db3122ca00c361e0
Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
parent 047ae403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment