diff options
| author | xoviat <[email protected]> | 2023-07-15 14:38:02 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-15 14:38:02 -0500 |
| commit | 3705b4f40d206490a5165a287791206ac70573d9 (patch) | |
| tree | 7891001a5eb75b1eeed59bc86bb7523c88eb0e45 /examples | |
| parent | 1f63fdbb15b2f8fb94167e12428901357de15c11 (diff) | |
rustfmt
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32wb/src/bin/eddystone_beacon.rs | 2 | ||||
| -rw-r--r-- | examples/stm32wb/src/bin/gatt_server.rs | 2 | ||||
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox_ble.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32wb/src/bin/eddystone_beacon.rs b/examples/stm32wb/src/bin/eddystone_beacon.rs index b99f8cb2e..451bd7d29 100644 --- a/examples/stm32wb/src/bin/eddystone_beacon.rs +++ b/examples/stm32wb/src/bin/eddystone_beacon.rs | |||
| @@ -63,7 +63,7 @@ async fn main(_spawner: Spawner) { | |||
| 63 | let sys_event = mbox.sys_subsystem.read().await; | 63 | let sys_event = mbox.sys_subsystem.read().await; |
| 64 | info!("sys event: {}", sys_event.payload()); | 64 | info!("sys event: {}", sys_event.payload()); |
| 65 | 65 | ||
| 66 | mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; | 66 | let _ = mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; |
| 67 | 67 | ||
| 68 | info!("resetting BLE..."); | 68 | info!("resetting BLE..."); |
| 69 | mbox.ble_subsystem.reset().await; | 69 | mbox.ble_subsystem.reset().await; |
diff --git a/examples/stm32wb/src/bin/gatt_server.rs b/examples/stm32wb/src/bin/gatt_server.rs index 7621efb11..0f6419d45 100644 --- a/examples/stm32wb/src/bin/gatt_server.rs +++ b/examples/stm32wb/src/bin/gatt_server.rs | |||
| @@ -71,7 +71,7 @@ async fn main(_spawner: Spawner) { | |||
| 71 | let sys_event = mbox.sys_subsystem.read().await; | 71 | let sys_event = mbox.sys_subsystem.read().await; |
| 72 | info!("sys event: {}", sys_event.payload()); | 72 | info!("sys event: {}", sys_event.payload()); |
| 73 | 73 | ||
| 74 | mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; | 74 | let _ = mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; |
| 75 | 75 | ||
| 76 | info!("resetting BLE..."); | 76 | info!("resetting BLE..."); |
| 77 | mbox.ble_subsystem.reset().await; | 77 | mbox.ble_subsystem.reset().await; |
diff --git a/examples/stm32wb/src/bin/tl_mbox_ble.rs b/examples/stm32wb/src/bin/tl_mbox_ble.rs index a511e89aa..90349422e 100644 --- a/examples/stm32wb/src/bin/tl_mbox_ble.rs +++ b/examples/stm32wb/src/bin/tl_mbox_ble.rs | |||
| @@ -49,7 +49,7 @@ 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 | let _ = mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; |
| 53 | 53 | ||
| 54 | info!("starting ble..."); | 54 | info!("starting ble..."); |
| 55 | mbox.ble_subsystem.tl_write(0x0c, &[]).await; | 55 | mbox.ble_subsystem.tl_write(0x0c, &[]).await; |
