From beb587ca22ea2a284efda461ec7fc02ceb322b96 Mon Sep 17 00:00:00 2001 From: Kaitlyn Kenwell Date: Thu, 14 Dec 2023 10:06:36 -0500 Subject: [PATCH] SCB::sys_reset has a DSB internally, no need to replicate --- embassy-usb-dfu/src/application.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/embassy-usb-dfu/src/application.rs b/embassy-usb-dfu/src/application.rs index 0b7b53af..5ff8f90f 100644 --- a/embassy-usb-dfu/src/application.rs +++ b/embassy-usb-dfu/src/application.rs @@ -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(); } }