projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flash/nor: Do not update 'is_erased'
[fw/openocd]
/
src
/
flash
/
nor
/
pic32mx.c
diff --git
a/src/flash/nor/pic32mx.c
b/src/flash/nor/pic32mx.c
index a1f2cdf4ec3e8d8991dae7f9ad2e860d6368ea3e..31433e03fc1d33d79be9af4fd7049c592defafd9 100644
(file)
--- a/
src/flash/nor/pic32mx.c
+++ b/
src/flash/nor/pic32mx.c
@@
-353,7
+353,6
@@
static int pic32mx_erase(struct flash_bank *bank, unsigned int first,
return ERROR_FLASH_OPERATION_FAILED;
if (status & NVMCON_LVDERR)
return ERROR_FLASH_OPERATION_FAILED;
- bank->sectors[i].is_erased = 1;
}
return ERROR_OK;