aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32wb/src/bin
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-06-18 18:56:53 -0500
committerxoviat <[email protected]>2023-06-18 18:56:53 -0500
commit72fd648d92738546b03166922defd4bee2d5fa9d (patch)
tree4a304d14ac4e324cfe417aac7a98ca57483f7ceb /examples/stm32wb/src/bin
parentb95c0210b83d0742fa4663b2726e4e7b82a4e068 (diff)
stm32/wpan: add shci mac init
Diffstat (limited to 'examples/stm32wb/src/bin')
-rw-r--r--examples/stm32wb/src/bin/tl_mbox_mac.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/stm32wb/src/bin/tl_mbox_mac.rs b/examples/stm32wb/src/bin/tl_mbox_mac.rs
index f13f260b5..a42939bbd 100644
--- a/examples/stm32wb/src/bin/tl_mbox_mac.rs
+++ b/examples/stm32wb/src/bin/tl_mbox_mac.rs
@@ -49,15 +49,15 @@ async fn main(_spawner: Spawner) {
49 let sys_event = mbox.sys_subsystem.read().await; 49 let sys_event = mbox.sys_subsystem.read().await;
50 info!("sys event: {}", sys_event.payload()); 50 info!("sys event: {}", sys_event.payload());
51 51
52// mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; 52 mbox.sys_subsystem.shci_c2_mac_802_15_4_init().await;
53// 53 //
54// info!("starting ble..."); 54 // info!("starting ble...");
55// mbox.ble_subsystem.write(0x0c, &[]).await; 55 // mbox.ble_subsystem.write(0x0c, &[]).await;
56// 56 //
57// info!("waiting for ble..."); 57 // info!("waiting for ble...");
58// let ble_event = mbox.ble_subsystem.read().await; 58 // let ble_event = mbox.ble_subsystem.read().await;
59// 59 //
60// info!("ble event: {}", ble_event.payload()); 60 // info!("ble event: {}", ble_event.payload());
61 61
62 info!("Test OK"); 62 info!("Test OK");
63 cortex_m::asm::bkpt(); 63 cortex_m::asm::bkpt();