dfu: style

This commit is contained in:
Sebastien Bourdeauducq 2021-01-18 16:59:13 +08:00
parent f3661ac8e3
commit 8eb3cc4307

View File

@ -1,7 +1,6 @@
use cortex_m_rt::{pre_init}; use cortex_m_rt::pre_init;
use stm32f4xx_hal::{ use stm32f4xx_hal::stm32::{RCC, SYSCFG};
stm32::{RCC, SYSCFG},
};
const DFU_TRIG_MSG: u32 = 0xDECAFBAD; const DFU_TRIG_MSG: u32 = 0xDECAFBAD;
extern "C" { extern "C" {
@ -43,4 +42,4 @@ unsafe fn __pre_init() {
"BX R0", "BX R0",
); );
} }
} }