forked from M-Labs/thermostat
dfu: style
This commit is contained in:
parent
f3661ac8e3
commit
8eb3cc4307
|
@ -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",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue