mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-26 21:11:54 +01:00
actually recheck DQ 7 in busyCheck29F032
This commit is contained in:
parent
ced25f623c
commit
d7a133188d
@ -1021,6 +1021,7 @@ int busyCheck29F032(uint32_t addr, byte c) {
|
|||||||
// Under these conditions DQ 5 will produce a “1”.
|
// Under these conditions DQ 5 will produce a “1”.
|
||||||
// This is a failure condition which indicates that the program or erase cycle was not successfully completed.
|
// This is a failure condition which indicates that the program or erase cycle was not successfully completed.
|
||||||
// Note : DQ 7 is rechecked even if DQ 5 = “1” because DQ 7 may change simultaneously with DQ 5 .
|
// Note : DQ 7 is rechecked even if DQ 5 = “1” because DQ 7 may change simultaneously with DQ 5 .
|
||||||
|
d = readByte_Flash(addr);
|
||||||
if ((d & 0x80) == (c & 0x80)) {
|
if ((d & 0x80) == (c & 0x80)) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user