stm32/wpan: add shci mac init

This commit is contained in:
xoviat
2023-06-18 18:56:53 -05:00
parent b95c0210b8
commit 72fd648d92
2 changed files with 15 additions and 9 deletions

View File

@ -49,15 +49,15 @@ async fn main(_spawner: Spawner) {
let sys_event = mbox.sys_subsystem.read().await;
info!("sys event: {}", sys_event.payload());
// mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await;
//
// info!("starting ble...");
// mbox.ble_subsystem.write(0x0c, &[]).await;
//
// info!("waiting for ble...");
// let ble_event = mbox.ble_subsystem.read().await;
//
// info!("ble event: {}", ble_event.payload());
mbox.sys_subsystem.shci_c2_mac_802_15_4_init().await;
//
// info!("starting ble...");
// mbox.ble_subsystem.write(0x0c, &[]).await;
//
// info!("waiting for ble...");
// let ble_event = mbox.ble_subsystem.read().await;
//
// info!("ble event: {}", ble_event.payload());
info!("Test OK");
cortex_m::asm::bkpt();