Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STM32Gx: flash: clear programming mode before erasing
As described in 3.3.8, if erasing while another mode's "enable" bit is set, a programming sequence error will be raised. This change makes sure this will not happen for an erase operation.
- Loading branch information