SCB::sys_reset has a DSB internally, no need to replicate

This commit is contained in:
Kaitlyn Kenwell 2023-12-14 10:06:36 -05:00 committed by Dario Nieuwenhuis
parent b3e74ebc34
commit beb587ca22

View File

@ -45,7 +45,6 @@ impl<'d, STATE: NorFlash> Handler for Control<'d, STATE> {
self.firmware_state
.mark_dfu()
.expect("Failed to mark DFU mode in bootloader");
cortex_m::asm::dsb();
cortex_m::peripheral::SCB::sys_reset();
}
}