STM32: Enable flash support for STM32G4

This commit is contained in:
Adam Greig
2023-12-16 03:44:15 +00:00
parent ccf602b333
commit f6bc96dfbd
8 changed files with 10 additions and 10 deletions

View File

@ -120,7 +120,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(|_| {});
}