From a9fbaff1ed280e13f532152cbe59f5a7ce6a5675 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 22 Jan 2022 06:38:08 +0000 Subject: [PATCH] Fixed bug #1212. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@15389 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/lib/complex/serial_nor/hal_serial_nor.c | 3 --- readme.txt | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/os/hal/lib/complex/serial_nor/hal_serial_nor.c b/os/hal/lib/complex/serial_nor/hal_serial_nor.c index 82d90835e..05f02eb63 100644 --- a/os/hal/lib/complex/serial_nor/hal_serial_nor.c +++ b/os/hal/lib/complex/serial_nor/hal_serial_nor.c @@ -169,9 +169,6 @@ static flash_error_t snor_start_erase_all(void *instance) { /* Actual erase implementation.*/ err = snor_device_start_erase_all(devp); - /* Ready state again.*/ - devp->state = FLASH_READY; - /* Bus released.*/ bus_release(devp->config->busp); diff --git a/readme.txt b/readme.txt index a19030bf2..7061e3363 100644 --- a/readme.txt +++ b/readme.txt @@ -75,6 +75,7 @@ *** 20.3.5 *** - FIX: Some MISRA-related fixes. +- FIX: Fixed invalid state transition in SNOR flash driver (bug #1212). - FIX: Fixed missing check in chobjcaches.h (bug #1210). - FIX: Fixed RT testbuild application broken (bug #1208). - FIX: Fixed USB not enabled on STM32F103x6 (bug #1206).