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 | |
| parent | cd4f8f13a2c533f4e752c2e446661a6d86b19fe6 (diff) | |
fix build
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox_ble.rs | 4 | ||||
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox_mac.rs | 6 | ||||
| -rw-r--r-- | tests/stm32/src/bin/tl_mbox.rs | 4 |
3 files changed, 7 insertions, 7 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 | ||
diff --git a/tests/stm32/src/bin/tl_mbox.rs b/tests/stm32/src/bin/tl_mbox.rs index f47a89b6f..f55c0292a 100644 --- a/tests/stm32/src/bin/tl_mbox.rs +++ b/tests/stm32/src/bin/tl_mbox.rs | |||
| @@ -63,10 +63,10 @@ async fn main(spawner: Spawner) { | |||
| 63 | info!("subsystem initialization: {}", result); | 63 | info!("subsystem initialization: {}", result); |
| 64 | 64 | ||
| 65 | info!("starting ble..."); | 65 | info!("starting ble..."); |
| 66 | mbox.ble_subsystem.write(0x0c, &[]).await; | 66 | mbox.ble_subsystem.tl_write(0x0c, &[]).await; |
| 67 | 67 | ||
| 68 | info!("waiting for ble..."); | 68 | info!("waiting for ble..."); |
| 69 | let ble_event = mbox.ble_subsystem.read().await; | 69 | let ble_event = mbox.ble_subsystem.tl_read().await; |
| 70 | 70 | ||
| 71 | info!("ble event {:x} : {:x}", ble_event.stub().kind, ble_event.payload()); | 71 | info!("ble event {:x} : {:x}", ble_event.stub().kind, ble_event.payload()); |
| 72 | 72 | ||
