flash_lock call is inside a for loop, so after the first iteration flash is locked and no more sectors can be erased. Move flash_lock out of the loop. Signed-off-by: Vadzim Dambrouski <pftbest@gmail.com>master
parent
3562936373
commit
4cd3246f2a
Loading…
Reference in new issue