diff options
| author | goueslati <[email protected]> | 2023-06-22 15:31:45 +0100 |
|---|---|---|
| committer | goueslati <[email protected]> | 2023-06-22 15:31:45 +0100 |
| commit | 810c6af77af037a658186f8b102980ee84164a05 (patch) | |
| tree | b2e9d03ee5bd6e6302166779d615b7df29250810 /examples | |
| parent | cd4f8f13a2c533f4e752c2e446661a6d86b19fe6 (diff) | |
fix build
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox_ble.rs | 4 | ||||
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox_mac.rs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/stm32wb/src/bin/tl_mbox_ble.rs b/examples/stm32wb/src/bin/tl_mbox_ble.rs index 439bd01ac..a511e89aa 100644 --- a/examples/stm32wb/src/bin/tl_mbox_ble.rs +++ b/examples/stm32wb/src/bin/tl_mbox_ble.rs | |||
| @@ -52,10 +52,10 @@ async fn main(_spawner: Spawner) { | |||
| 52 | mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; | 52 | mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; |
| 53 | 53 | ||
| 54 | info!("starting ble..."); | 54 | info!("starting ble..."); |
| 55 | mbox.ble_subsystem.write(0x0c, &[]).await; | 55 | mbox.ble_subsystem.tl_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.tl_read().await; |
| 59 | 59 | ||
| 60 | info!("ble event: {}", ble_event.payload()); | 60 | info!("ble event: {}", ble_event.payload()); |
| 61 | 61 | ||
diff --git a/examples/stm32wb/src/bin/tl_mbox_mac.rs b/examples/stm32wb/src/bin/tl_mbox_mac.rs index a42939bbd..6c8653cf4 100644 --- a/examples/stm32wb/src/bin/tl_mbox_mac.rs +++ b/examples/stm32wb/src/bin/tl_mbox_mac.rs | |||
| @@ -46,16 +46,16 @@ async fn main(_spawner: Spawner) { | |||
| 46 | let config = Config::default(); | 46 | let config = Config::default(); |
| 47 | let mbox = TlMbox::init(p.IPCC, Irqs, config); | 47 | let mbox = TlMbox::init(p.IPCC, Irqs, config); |
| 48 | 48 | ||
| 49 | let sys_event = mbox.sys_subsystem.read().await; | 49 | let sys_event = mbox.sys_subsystem.tl_read().await; |
| 50 | info!("sys event: {}", sys_event.payload()); | 50 | info!("sys event: {}", sys_event.payload()); |
| 51 | 51 | ||
| 52 | mbox.sys_subsystem.shci_c2_mac_802_15_4_init().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.t_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.tl_read().await; |
| 59 | // | 59 | // |
| 60 | // info!("ble event: {}", ble_event.payload()); | 60 | // info!("ble event: {}", ble_event.payload()); |
| 61 | 61 | ||
