summaryrefslogtreecommitdiff
path: root/examples/stm32f3/src/bin/button_exti.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32f3/src/bin/button_exti.rs')
-rw-r--r--examples/stm32f3/src/bin/button_exti.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f3/src/bin/button_exti.rs b/examples/stm32f3/src/bin/button_exti.rs
index add6712b..dee06e5d 100644
--- a/examples/stm32f3/src/bin/button_exti.rs
+++ b/examples/stm32f3/src/bin/button_exti.rs
@@ -3,13 +3,13 @@
#![feature(type_alias_impl_trait)]
use defmt::*;
-use embassy::executor::Spawner;
+use embassy_executor::executor::Spawner;
use embassy_stm32::exti::ExtiInput;
use embassy_stm32::gpio::{Input, Pull};
use embassy_stm32::Peripherals;
use {defmt_rtt as _, panic_probe as _};
-#[embassy::main]
+#[embassy_executor::main]
async fn main(_spawner: Spawner, p: Peripherals) {
info!("Hello World!");