SCB::sys_reset has a DSB internally, no need to replicate
This commit is contained in:
parent
9cc5d8ac89
commit
ef692c5141
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue