This commit is contained in:
kalkyl 2022-12-10 08:33:09 +01:00
parent 1ee58492fb
commit 34eaade14f

View file

@ -6,11 +6,11 @@ use defmt::*;
use embassy_executor::Executor; use embassy_executor::Executor;
use embassy_executor::_export::StaticCell; use embassy_executor::_export::StaticCell;
use embassy_rp::gpio::{Level, Output}; use embassy_rp::gpio::{Level, Output};
use embassy_rp::multicore::{Multicore, Stack};
use embassy_rp::peripherals::PIN_25; use embassy_rp::peripherals::PIN_25;
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
use embassy_sync::channel::Channel; use embassy_sync::channel::Channel;
use embassy_time::{Duration, Timer}; use embassy_time::{Duration, Timer};
use embassy_rp::multicore::{Multicore, Stack};
use {defmt_rtt as _, panic_probe as _}; use {defmt_rtt as _, panic_probe as _};
static mut CORE1_STACK: Stack<4096> = Stack::new(); static mut CORE1_STACK: Stack<4096> = Stack::new();
@ -59,4 +59,4 @@ async fn core1_task(mut led: Output<'static, PIN_25>) {
LedState::Off => led.set_low(), LedState::Off => led.set_low(),
} }
} }
} }