aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/blinky.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nrf/src/bin/blinky.rs')
-rw-r--r--examples/nrf/src/bin/blinky.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nrf/src/bin/blinky.rs b/examples/nrf/src/bin/blinky.rs
index 98db6546c..5283d7ead 100644
--- a/examples/nrf/src/bin/blinky.rs
+++ b/examples/nrf/src/bin/blinky.rs
@@ -5,11 +5,11 @@
5use embassy_executor::executor::Spawner; 5use embassy_executor::executor::Spawner;
6use embassy_executor::time::{Duration, Timer}; 6use embassy_executor::time::{Duration, Timer};
7use embassy_nrf::gpio::{Level, Output, OutputDrive}; 7use embassy_nrf::gpio::{Level, Output, OutputDrive};
8use embassy_nrf::Peripherals;
9use {defmt_rtt as _, panic_probe as _}; 8use {defmt_rtt as _, panic_probe as _};
10 9
11#[embassy_executor::main] 10#[embassy_executor::main]
12async fn main(_spawner: Spawner, p: Peripherals) { 11async fn main(_spawner: Spawner) {
12 let p = embassy_nrf::init(Default::default());
13 let mut led = Output::new(p.P0_13, Level::Low, OutputDrive::Standard); 13 let mut led = Output::new(p.P0_13, Level::Low, OutputDrive::Standard);
14 14
15 loop { 15 loop {