fix build

This commit is contained in:
goueslati
2023-06-22 15:31:45 +01:00
parent cd4f8f13a2
commit 810c6af77a
3 changed files with 7 additions and 7 deletions

View File

@ -63,10 +63,10 @@ async fn main(spawner: Spawner) {
info!("subsystem initialization: {}", result);
info!("starting ble...");
mbox.ble_subsystem.write(0x0c, &[]).await;
mbox.ble_subsystem.tl_write(0x0c, &[]).await;
info!("waiting for ble...");
let ble_event = mbox.ble_subsystem.read().await;
let ble_event = mbox.ble_subsystem.tl_read().await;
info!("ble event {:x} : {:x}", ble_event.stub().kind, ble_event.payload());