aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32/src/bin/timer.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-07-29 21:58:35 +0200
committerDario Nieuwenhuis <[email protected]>2022-07-29 23:40:36 +0200
commita0f1b0ee01d461607660d2d56b5b1bdc57e0d3fb (patch)
treee60fc8f8db8ec07e55d655c1a830b07f4db0b7d2 /tests/stm32/src/bin/timer.rs
parent8745d646f0976791b7098456aa61adb983fb1c18 (diff)
Split embassy crate into embassy-executor, embassy-util.
Diffstat (limited to 'tests/stm32/src/bin/timer.rs')
-rw-r--r--tests/stm32/src/bin/timer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stm32/src/bin/timer.rs b/tests/stm32/src/bin/timer.rs
index 002a8a4d3..76b07ca15 100644
--- a/tests/stm32/src/bin/timer.rs
+++ b/tests/stm32/src/bin/timer.rs
@@ -5,12 +5,12 @@
5#[path = "../example_common.rs"] 5#[path = "../example_common.rs"]
6mod example_common; 6mod example_common;
7use defmt::assert; 7use defmt::assert;
8use embassy::executor::Spawner; 8use embassy_executor::executor::Spawner;
9use embassy::time::{Duration, Instant, Timer}; 9use embassy_executor::time::{Duration, Instant, Timer};
10use embassy_stm32::Peripherals; 10use embassy_stm32::Peripherals;
11use example_common::*; 11use example_common::*;
12 12
13#[embassy::main(config = "config()")] 13#[embassy_executor::main(config = "config()")]
14async fn main(_spawner: Spawner, _p: Peripherals) { 14async fn main(_spawner: Spawner, _p: Peripherals) {
15 info!("Hello World!"); 15 info!("Hello World!");
16 16