This commit is contained in:
xoviat 2023-07-15 14:38:02 -05:00
parent 1f63fdbb15
commit 3705b4f40d
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ async fn main(_spawner: Spawner) {
let sys_event = mbox.sys_subsystem.read().await; let sys_event = mbox.sys_subsystem.read().await;
info!("sys event: {}", sys_event.payload()); info!("sys event: {}", sys_event.payload());
mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; let _ = mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await;
info!("resetting BLE..."); info!("resetting BLE...");
mbox.ble_subsystem.reset().await; mbox.ble_subsystem.reset().await;

View File

@ -71,7 +71,7 @@ async fn main(_spawner: Spawner) {
let sys_event = mbox.sys_subsystem.read().await; let sys_event = mbox.sys_subsystem.read().await;
info!("sys event: {}", sys_event.payload()); info!("sys event: {}", sys_event.payload());
mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; let _ = mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await;
info!("resetting BLE..."); info!("resetting BLE...");
mbox.ble_subsystem.reset().await; mbox.ble_subsystem.reset().await;

View File

@ -49,7 +49,7 @@ async fn main(_spawner: Spawner) {
let sys_event = mbox.sys_subsystem.read().await; let sys_event = mbox.sys_subsystem.read().await;
info!("sys event: {}", sys_event.payload()); info!("sys event: {}", sys_event.payload());
mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await; let _ = mbox.sys_subsystem.shci_c2_ble_init(Default::default()).await;
info!("starting ble..."); info!("starting ble...");
mbox.ble_subsystem.tl_write(0x0c, &[]).await; mbox.ble_subsystem.tl_write(0x0c, &[]).await;