From 8eb3cc4307f86ee0da860b2a38c090f95cdcc607 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 18 Jan 2021 16:59:13 +0800 Subject: [PATCH] dfu: style --- src/dfu.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/dfu.rs b/src/dfu.rs index d4cb384..1317212 100644 --- a/src/dfu.rs +++ b/src/dfu.rs @@ -1,7 +1,6 @@ -use cortex_m_rt::{pre_init}; -use stm32f4xx_hal::{ - stm32::{RCC, SYSCFG}, -}; +use cortex_m_rt::pre_init; +use stm32f4xx_hal::stm32::{RCC, SYSCFG}; + const DFU_TRIG_MSG: u32 = 0xDECAFBAD; extern "C" { @@ -43,4 +42,4 @@ unsafe fn __pre_init() { "BX R0", ); } -} \ No newline at end of file +}