This commit is contained in:
Ulf Lilleengen 2024-01-20 16:23:12 +01:00
parent 4410aacafb
commit 2a810a1a6a
2 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,8 @@
use core::future::poll_fn; use core::future::poll_fn;
use core::marker::PhantomData; use core::marker::PhantomData;
use core::ptr; use core::ptr;
use portable_atomic::{AtomicPtr, Ordering};
use core::task::Poll; use core::task::Poll;
use portable_atomic::{AtomicPtr, Ordering};
use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::drop::OnDrop;
use embassy_hal_internal::{into_ref, PeripheralRef}; use embassy_hal_internal::{into_ref, PeripheralRef};

View File

@ -8,7 +8,6 @@ use {defmt_rtt as _, panic_probe as _};
#[embassy_executor::main] #[embassy_executor::main]
async fn main(_spawner: Spawner) { async fn main(_spawner: Spawner) {
let p = embassy_nrf::init(Default::default()); let p = embassy_nrf::init(Default::default());
let mut led = Output::new(p.P0_21, Level::Low, OutputDrive::Standard); let mut led = Output::new(p.P0_21, Level::Low, OutputDrive::Standard);