diff options
| author | xoviat <[email protected]> | 2023-07-19 17:52:07 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-19 17:52:07 -0500 |
| commit | 02d57afd51451fe9e7d224a0ea665a665ba2b72f (patch) | |
| tree | f8140c5869b171465d9f5455ed3638e60fbf3e65 /examples/stm32wb/src/bin | |
| parent | 28254842db645bc961d19fa2287610b7b1d3447c (diff) | |
rustfmt
Diffstat (limited to 'examples/stm32wb/src/bin')
| -rw-r--r-- | examples/stm32wb/src/bin/mac_ffd_net.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/stm32wb/src/bin/mac_ffd_net.rs b/examples/stm32wb/src/bin/mac_ffd_net.rs index 16c33e146..a55b1fc77 100644 --- a/examples/stm32wb/src/bin/mac_ffd_net.rs +++ b/examples/stm32wb/src/bin/mac_ffd_net.rs | |||
| @@ -6,8 +6,8 @@ use defmt::*; | |||
| 6 | use embassy_executor::Spawner; | 6 | use embassy_executor::Spawner; |
| 7 | use embassy_stm32::bind_interrupts; | 7 | use embassy_stm32::bind_interrupts; |
| 8 | use embassy_stm32::ipcc::{Config, ReceiveInterruptHandler, TransmitInterruptHandler}; | 8 | use embassy_stm32::ipcc::{Config, ReceiveInterruptHandler, TransmitInterruptHandler}; |
| 9 | use embassy_stm32_wpan::mac::commands::{AssociateResponse, ResetRequest, SetRequest, StartRequest}; | 9 | use embassy_stm32_wpan::mac::commands::{ResetRequest, SetRequest, StartRequest}; |
| 10 | use embassy_stm32_wpan::mac::typedefs::{MacChannel, MacStatus, PanId, PibId, SecurityLevel}; | 10 | use embassy_stm32_wpan::mac::typedefs::{MacChannel, PanId, PibId}; |
| 11 | use embassy_stm32_wpan::mac::{self, Runner}; | 11 | use embassy_stm32_wpan::mac::{self, Runner}; |
| 12 | use embassy_stm32_wpan::sub::mm; | 12 | use embassy_stm32_wpan::sub::mm; |
| 13 | use embassy_stm32_wpan::TlMbox; | 13 | use embassy_stm32_wpan::TlMbox; |
| @@ -185,4 +185,7 @@ async fn main(spawner: Spawner) { | |||
| 185 | spawner.spawn(run_mac(runner)).unwrap(); | 185 | spawner.spawn(run_mac(runner)).unwrap(); |
| 186 | 186 | ||
| 187 | let (driver, control) = mac::new(runner).await; | 187 | let (driver, control) = mac::new(runner).await; |
| 188 | |||
| 189 | let _ = driver; | ||
| 190 | let _ = control; | ||
| 188 | } | 191 | } |
