Fixed bug #1265.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16267 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
0e36eee1fa
commit
b93a6f3074
|
@ -591,9 +591,6 @@ flash_error_t snor_device_verify_erase(SNORDriver *devp,
|
|||
/* Checking for erased state of current buffer.*/
|
||||
for (p = devp->nocache->buf; p < &devp->nocache->buf[SNOR_BUFFER_SIZE]; p++) {
|
||||
if (*p != 0xFFU) {
|
||||
/* Ready state again.*/
|
||||
devp->state = FLASH_READY;
|
||||
|
||||
return FLASH_ERROR_VERIFY;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -473,9 +473,6 @@ flash_error_t snor_device_verify_erase(SNORDriver *devp,
|
|||
/* Checking for erased state of current buffer.*/
|
||||
for (p = cmpbuf; p < &cmpbuf[N25Q_COMPARE_BUFFER_SIZE]; p++) {
|
||||
if (*p != 0xFFU) {
|
||||
/* Ready state again.*/
|
||||
devp->state = FLASH_READY;
|
||||
|
||||
return FLASH_ERROR_VERIFY;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,6 +114,8 @@
|
|||
instead of a simple size.
|
||||
- NEW: RT and NIL upgraded to support the enhanced OSLIB.
|
||||
- NEW: Memory areas/pointers checker functions added to OSLIB.
|
||||
- FIX: Fixed unnecessary code in SNOR device drivers (bug #1265)
|
||||
(backported to 20.3.5)(backported to 21.11.4).
|
||||
- FIX: Fixed channel 0 corruption on STM32 BDMAv1 (bug #1263)
|
||||
(backported to 20.3.5)(backported to 21.11.4).
|
||||
- FIX: Fixed wrong statistics in RT7 (bug #1262)(backported to 21.11.4).
|
||||
|
|
Loading…
Reference in New Issue