aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-06-16 20:15:03 -0500
committerxoviat <[email protected]>2023-06-16 20:15:03 -0500
commite1161dfc80e583719bf486d112fa84c948b71fc1 (patch)
tree791f00605c9a2d68b3c7c98acd7ab8c660ee64a8 /tests
parentaf451b5462b4cbfaab6ac3ffe56ec9e981f460f7 (diff)
stm32/wpan: improve linked list ergonomics
Diffstat (limited to 'tests')
-rw-r--r--tests/stm32/src/bin/tl_mbox.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/stm32/src/bin/tl_mbox.rs b/tests/stm32/src/bin/tl_mbox.rs
index 5e7d11ef5..5a2309263 100644
--- a/tests/stm32/src/bin/tl_mbox.rs
+++ b/tests/stm32/src/bin/tl_mbox.rs
@@ -10,6 +10,7 @@ use common::*;
10use embassy_executor::Spawner; 10use embassy_executor::Spawner;
11use embassy_stm32::bind_interrupts; 11use embassy_stm32::bind_interrupts;
12use embassy_stm32::ipcc::Config; 12use embassy_stm32::ipcc::Config;
13use embassy_stm32_wpan::ble::Ble;
13use embassy_stm32_wpan::rc::RadioCoprocessor; 14use embassy_stm32_wpan::rc::RadioCoprocessor;
14use embassy_stm32_wpan::sys::Sys; 15use embassy_stm32_wpan::sys::Sys;
15use embassy_stm32_wpan::TlMbox; 16use embassy_stm32_wpan::TlMbox;
@@ -59,7 +60,9 @@ async fn main(_spawner: Spawner) {
59 60
60 Sys::shci_ble_init(Default::default()); 61 Sys::shci_ble_init(Default::default());
61 62
62 rc.write(&[0x01, 0x03, 0x0c, 0x00, 0x00]); 63 // rc.write(&[0x01, 0x03, 0x0c, 0x00, 0x00]);
64 Ble::send_cmd(0x0c, &[]);
65
63 let response = rc.read().await; 66 let response = rc.read().await;
64 info!("ble reset rsp {}", response); 67 info!("ble reset rsp {}", response);
65 68