diff options
Diffstat (limited to 'os/ex')
-rw-r--r-- | os/ex/Micron/m25q.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/os/ex/Micron/m25q.c b/os/ex/Micron/m25q.c index a94e1730b..9ae5958d8 100644 --- a/os/ex/Micron/m25q.c +++ b/os/ex/Micron/m25q.c @@ -660,9 +660,6 @@ static flash_error_t start_erase_all(void *instance) { /* Bulk erase command.*/ flash_cmd(devp, M25Q_CMD_BULK_ERASE); - /* Ready state again.*/ - devp->state = FLASH_READY; - /* Bus released.*/ flash_bus_release(devp); @@ -694,9 +691,6 @@ static flash_error_t start_erase_sector(void *instance, flash_sector_t sector) { /* Sector erase command.*/ flash_cmd_addr(devp, M25Q_CMD_SECTOR_ERASE, addr); - /* Ready state again.*/ - devp->state = FLASH_READY; - /* Bus released.*/ flash_bus_release(devp); |