snor_device_verify_erase should not change BaseFlash::state Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

snor_device_verify_erase should not change BaseFlash::state  Topic is solved

Postby faisal » Mon Apr 17, 2023 7:28 pm

hal_flash_device.c::snor_device_verify_erase() currently modifies the state of BaseFlash::state in the case of an error in verifying. However, this is not necessary, as the hal_serial_nor::snor_verify_erase() (which is the function in the BaseFlash VMT) already manages the state of BaseFlash::state appropriately.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: snor_device_verify_erase should not change BaseFlash::state

Postby Giovanni » Sat May 27, 2023 10:18 am

Hi,

Fixed as bug #1265.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 19 guests