summaryrefslogtreecommitdiff
path: root/examples/stm32l4/src/bin/usart.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32l4/src/bin/usart.rs')
-rw-r--r--examples/stm32l4/src/bin/usart.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/stm32l4/src/bin/usart.rs b/examples/stm32l4/src/bin/usart.rs
index b38f5545..4a4b46c5 100644
--- a/examples/stm32l4/src/bin/usart.rs
+++ b/examples/stm32l4/src/bin/usart.rs
@@ -2,12 +2,10 @@
#![no_main]
#![feature(type_alias_impl_trait)]
-use defmt_rtt as _; // global logger
-use panic_probe as _;
-
use defmt::*;
use embassy_stm32::dma::NoDma;
use embassy_stm32::usart::{Config, Uart};
+use {defmt_rtt as _, panic_probe as _};
#[cortex_m_rt::entry]
fn main() -> ! {