Fix formatting of u5 file

This commit is contained in:
Chris Storah 2025-07-23 15:55:14 +10:00
parent 487b42f62c
commit 420cbb437f

View File

@ -93,13 +93,9 @@ pub(crate) unsafe fn blocking_erase_sector(sector: &FlashSector) -> Result<(), E
let ret: Result<(), Error> = blocking_wait_ready();
#[cfg(feature = "trustzone-secure")]
pac::FLASH
.seccr()
.modify(|w| w.set_per(false));
pac::FLASH.seccr().modify(|w| w.set_per(false));
#[cfg(not(feature = "trustzone-secure"))]
pac::FLASH
.nscr()
.modify(|w| w.set_per(false));
pac::FLASH.nscr().modify(|w| w.set_per(false));
clear_all_err();
ret
}