STM32: Enable flash support for STM32G4
This commit is contained in:
@ -69,7 +69,7 @@ pub(crate) unsafe fn blocking_erase_sector(sector: &FlashSector) -> Result<(), E
|
||||
|
||||
pub(crate) unsafe fn clear_all_err() {
|
||||
// read and write back the same value.
|
||||
// This clears all "write 0 to clear" bits.
|
||||
// This clears all "write 1 to clear" bits.
|
||||
pac::FLASH.sr().modify(|_| {});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user