This commit is contained in:
xoviat 2023-07-19 17:52:07 -05:00
parent 28254842db
commit 02d57afd51

View file

@ -6,8 +6,8 @@ use defmt::*;
use embassy_executor::Spawner; use embassy_executor::Spawner;
use embassy_stm32::bind_interrupts; use embassy_stm32::bind_interrupts;
use embassy_stm32::ipcc::{Config, ReceiveInterruptHandler, TransmitInterruptHandler}; use embassy_stm32::ipcc::{Config, ReceiveInterruptHandler, TransmitInterruptHandler};
use embassy_stm32_wpan::mac::commands::{AssociateResponse, ResetRequest, SetRequest, StartRequest}; use embassy_stm32_wpan::mac::commands::{ResetRequest, SetRequest, StartRequest};
use embassy_stm32_wpan::mac::typedefs::{MacChannel, MacStatus, PanId, PibId, SecurityLevel}; use embassy_stm32_wpan::mac::typedefs::{MacChannel, PanId, PibId};
use embassy_stm32_wpan::mac::{self, Runner}; use embassy_stm32_wpan::mac::{self, Runner};
use embassy_stm32_wpan::sub::mm; use embassy_stm32_wpan::sub::mm;
use embassy_stm32_wpan::TlMbox; use embassy_stm32_wpan::TlMbox;
@ -185,4 +185,7 @@ async fn main(spawner: Spawner) {
spawner.spawn(run_mac(runner)).unwrap(); spawner.spawn(run_mac(runner)).unwrap();
let (driver, control) = mac::new(runner).await; let (driver, control) = mac::new(runner).await;
let _ = driver;
let _ = control;
} }