fix build
This commit is contained in:
@ -52,10 +52,10 @@ async fn main(_spawner: Spawner) {
|
||||
mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await;
|
||||
|
||||
info!("starting ble...");
|
||||
mbox.ble_subsystem.write(0x0c, &[]).await;
|
||||
mbox.ble_subsystem.tl_write(0x0c, &[]).await;
|
||||
|
||||
info!("waiting for ble...");
|
||||
let ble_event = mbox.ble_subsystem.read().await;
|
||||
let ble_event = mbox.ble_subsystem.tl_read().await;
|
||||
|
||||
info!("ble event: {}", ble_event.payload());
|
||||
|
||||
|
@ -46,16 +46,16 @@ async fn main(_spawner: Spawner) {
|
||||
let config = Config::default();
|
||||
let mbox = TlMbox::init(p.IPCC, Irqs, config);
|
||||
|
||||
let sys_event = mbox.sys_subsystem.read().await;
|
||||
let sys_event = mbox.sys_subsystem.tl_read().await;
|
||||
info!("sys event: {}", sys_event.payload());
|
||||
|
||||
mbox.sys_subsystem.shci_c2_mac_802_15_4_init().await;
|
||||
//
|
||||
// info!("starting ble...");
|
||||
// mbox.ble_subsystem.write(0x0c, &[]).await;
|
||||
// mbox.ble_subsystem.t_write(0x0c, &[]).await;
|
||||
//
|
||||
// info!("waiting for ble...");
|
||||
// let ble_event = mbox.ble_subsystem.read().await;
|
||||
// let ble_event = mbox.ble_subsystem.tl_read().await;
|
||||
//
|
||||
// info!("ble event: {}", ble_event.payload());
|
||||
|
||||
|
Reference in New Issue
Block a user