aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/gpio_async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp/src/bin/gpio_async.rs')
-rw-r--r--examples/rp/src/bin/gpio_async.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp/src/bin/gpio_async.rs b/examples/rp/src/bin/gpio_async.rs
index bf58044d5..98209fe41 100644
--- a/examples/rp/src/bin/gpio_async.rs
+++ b/examples/rp/src/bin/gpio_async.rs
@@ -9,7 +9,7 @@
9use defmt::*; 9use defmt::*;
10use embassy_executor::Spawner; 10use embassy_executor::Spawner;
11use embassy_rp::gpio; 11use embassy_rp::gpio;
12use embassy_time::{Duration, Timer}; 12use embassy_time::Timer;
13use gpio::{Input, Level, Output, Pull}; 13use gpio::{Input, Level, Output, Pull};
14use {defmt_rtt as _, panic_probe as _}; 14use {defmt_rtt as _, panic_probe as _};
15 15
@@ -36,6 +36,6 @@ async fn main(_spawner: Spawner) {
36 info!("done wait_for_high. Turn off LED"); 36 info!("done wait_for_high. Turn off LED");
37 led.set_low(); 37 led.set_low();
38 38
39 Timer::after(Duration::from_secs(2)).await; 39 Timer::after_secs(2).await;
40 } 40 }
41} 41}