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
parent 9cc5d8ac89
commit ef692c5141

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();
}
}