diff options
| author | xoviat <[email protected]> | 2023-07-16 12:41:57 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-16 12:41:57 -0500 |
| commit | e95a7dc555f367534d3b8bc7a9b6f2d361b0d951 (patch) | |
| tree | b7f692fb1957fac70397cdc4a3686473cd8278df /examples/stm32wb/src/bin/mac_ffd.rs | |
| parent | c7ec45a004750f590c1d9ea4a721972efe133b8e (diff) | |
wpan/mac: use slice view to avoid copy
Diffstat (limited to 'examples/stm32wb/src/bin/mac_ffd.rs')
| -rw-r--r-- | examples/stm32wb/src/bin/mac_ffd.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/stm32wb/src/bin/mac_ffd.rs b/examples/stm32wb/src/bin/mac_ffd.rs index e4d81997e..f8c8ba288 100644 --- a/examples/stm32wb/src/bin/mac_ffd.rs +++ b/examples/stm32wb/src/bin/mac_ffd.rs | |||
| @@ -67,7 +67,10 @@ async fn main(spawner: Spawner) { | |||
| 67 | 67 | ||
| 68 | info!("resetting"); | 68 | info!("resetting"); |
| 69 | mbox.mac_subsystem | 69 | mbox.mac_subsystem |
| 70 | .send_command(&ResetRequest { set_default_pib: true }) | 70 | .send_command(&ResetRequest { |
| 71 | set_default_pib: true, | ||
| 72 | ..Default::default() | ||
| 73 | }) | ||
| 71 | .await | 74 | .await |
| 72 | .unwrap(); | 75 | .unwrap(); |
| 73 | let evt = mbox.mac_subsystem.read().await; | 76 | let evt = mbox.mac_subsystem.read().await; |
