Removed `must_relock` part for the "SST25VF040B" as requested

This commit is contained in:
Stephan Ruloff 2022-03-29 18:30:23 +02:00
parent 8337a926fb
commit 648d8b9e3b
1 changed files with 0 additions and 4 deletions

View File

@ -311,10 +311,6 @@ int SPIFlash::erase_and_prog(int base_addr, uint8_t *data, int len)
if ((status & 0x1c) != 0)
must_relock = true;
}
if ((_jedec_id >> 8) == 0xbf258d) {
if ((status & 0x1c) != 0)
must_relock = true;
}
/* if it's needs to unlock */
if (must_relock) {