summaryrefslogtreecommitdiff
path: root/examples/stm32l4/src/bin/adc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32l4/src/bin/adc.rs')
-rw-r--r--examples/stm32l4/src/bin/adc.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/stm32l4/src/bin/adc.rs b/examples/stm32l4/src/bin/adc.rs
index 58ef6eba..499ea47d 100644
--- a/examples/stm32l4/src/bin/adc.rs
+++ b/examples/stm32l4/src/bin/adc.rs
@@ -2,13 +2,11 @@
#![no_main]
#![feature(type_alias_impl_trait)]
-use defmt_rtt as _; // global logger
-use panic_probe as _;
-
use defmt::*;
use embassy::time::Delay;
use embassy_stm32::adc::{Adc, Resolution};
use embassy_stm32::pac;
+use {defmt_rtt as _, panic_probe as _};
#[cortex_m_rt::entry]
fn main() -> ! {