diff options
Diffstat (limited to 'examples/stm32f7/src/bin/hello.rs')
-rw-r--r-- | examples/stm32f7/src/bin/hello.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/stm32f7/src/bin/hello.rs b/examples/stm32f7/src/bin/hello.rs index 92d87ced..8e69e89d 100644 --- a/examples/stm32f7/src/bin/hello.rs +++ b/examples/stm32f7/src/bin/hello.rs @@ -6,11 +6,8 @@ use defmt::info; use embassy::executor::Spawner; use embassy::time::{Duration, Timer}; use embassy_stm32::time::Hertz; -use embassy_stm32::Config; -use embassy_stm32::Peripherals; - -use defmt_rtt as _; // global logger -use panic_probe as _; +use embassy_stm32::{Config, Peripherals}; +use {defmt_rtt as _, panic_probe as _}; fn config() -> Config { let mut config = Config::default(); |