summaryrefslogtreecommitdiff
path: root/examples/stm32g0/src/bin/button_exti.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32g0/src/bin/button_exti.rs')
-rw-r--r--examples/stm32g0/src/bin/button_exti.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32g0/src/bin/button_exti.rs b/examples/stm32g0/src/bin/button_exti.rs
index 848818bf..4b1cadcb 100644
--- a/examples/stm32g0/src/bin/button_exti.rs
+++ b/examples/stm32g0/src/bin/button_exti.rs
@@ -2,13 +2,13 @@
#![no_main]
#![feature(type_alias_impl_trait)]
-#[path = "../example_common.rs"]
-mod example_common;
+use defmt::*;
+use defmt_rtt as _; // global logger
use embassy::executor::Spawner;
use embassy_stm32::exti::ExtiInput;
use embassy_stm32::gpio::{Input, Pull};
use embassy_stm32::Peripherals;
-use example_common::*;
+use panic_probe as _;
#[embassy::main]
async fn main(_spawner: Spawner, p: Peripherals) {