Skip to content
Commit 92b299ff authored by Dominik Ermel's avatar Dominik Ermel Committed by Maureen Helm
Browse files

drivers/flash/flash_shell: Check for read error before verification



The cmd_write contains write verification that compares what has
been written with what it can read; the flash read operation
status was not checked which means that the bus or communication
problem was reported the same way as malformed write.
There have also been some optimization done by removal
of multiplications.

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