diff options
Diffstat (limited to 'examples/stm32f4/src/bin/can.rs')
-rw-r--r-- | examples/stm32f4/src/bin/can.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/stm32f4/src/bin/can.rs b/examples/stm32f4/src/bin/can.rs index 0f41d686..8abce87a 100644 --- a/examples/stm32f4/src/bin/can.rs +++ b/examples/stm32f4/src/bin/can.rs @@ -2,15 +2,13 @@ #![no_main] #![feature(type_alias_impl_trait)] -use defmt_rtt as _; // global logger -use panic_probe as _; - use cortex_m_rt::entry; use defmt::*; use embassy_stm32::can::bxcan::filter::Mask32; use embassy_stm32::can::bxcan::{Frame, StandardId}; use embassy_stm32::can::Can; use embassy_stm32::gpio::{Input, Pull}; +use {defmt_rtt as _, panic_probe as _}; #[entry] fn main() -> ! { |