aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32wb/src/bin
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-07-18 20:52:03 -0500
committerxoviat <[email protected]>2023-07-18 20:52:03 -0500
commitca1d4179a792d4a33b4f2b97b33002759fd28a21 (patch)
tree9df5aa97c8a61b8b4f1c777cef6d871d5e51fe7c /examples/stm32wb/src/bin
parent890d113b855dc11be75a9716401c7703f4ce48e1 (diff)
wpan: implement initial event loop
Diffstat (limited to 'examples/stm32wb/src/bin')
-rw-r--r--examples/stm32wb/src/bin/mac_ffd_net.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/stm32wb/src/bin/mac_ffd_net.rs b/examples/stm32wb/src/bin/mac_ffd_net.rs
index 6072f418c..7b8c4b9dc 100644
--- a/examples/stm32wb/src/bin/mac_ffd_net.rs
+++ b/examples/stm32wb/src/bin/mac_ffd_net.rs
@@ -172,7 +172,15 @@ async fn main(spawner: Spawner) {
172 defmt::info!("{:#x}", evt.mac_event()); 172 defmt::info!("{:#x}", evt.mac_event());
173 } 173 }
174 174
175 let runner = make_static!(Runner::new(mbox.mac_subsystem)); 175 let tx_queue = [
176 make_static!([0u8; 127]),
177 make_static!([0u8; 127]),
178 make_static!([0u8; 127]),
179 make_static!([0u8; 127]),
180 make_static!([0u8; 127]),
181 ];
182
183 let runner = make_static!(Runner::new(mbox.mac_subsystem, tx_queue));
176 184
177 spawner.spawn(run_mac(runner)).unwrap(); 185 spawner.spawn(run_mac(runner)).unwrap();
178 186