diff options
| author | xoviat <[email protected]> | 2023-07-15 19:02:04 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-15 19:02:04 -0500 |
| commit | 0b63af33135784c1410dc8667cfefbaa538a1f04 (patch) | |
| tree | d19c89092b928264ff627fc6d695c26f79d0553e /embassy-net/src/device.rs | |
| parent | 25197308e3cd9694c37284b49ce1b482e22855ce (diff) | |
wpan: prepare net impl.
Diffstat (limited to 'embassy-net/src/device.rs')
| -rw-r--r-- | embassy-net/src/device.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-net/src/device.rs b/embassy-net/src/device.rs index 4513c86d3..d29ab8970 100644 --- a/embassy-net/src/device.rs +++ b/embassy-net/src/device.rs | |||
| @@ -51,6 +51,8 @@ where | |||
| 51 | Medium::Ethernet => phy::Medium::Ethernet, | 51 | Medium::Ethernet => phy::Medium::Ethernet, |
| 52 | #[cfg(feature = "medium-ip")] | 52 | #[cfg(feature = "medium-ip")] |
| 53 | Medium::Ip => phy::Medium::Ip, | 53 | Medium::Ip => phy::Medium::Ip, |
| 54 | #[cfg(feature = "medium-ieee802154")] | ||
| 55 | Medium::Ieee802154 => phy::Medium::Ieee802154, | ||
| 54 | #[allow(unreachable_patterns)] | 56 | #[allow(unreachable_patterns)] |
| 55 | _ => panic!( | 57 | _ => panic!( |
| 56 | "Unsupported medium {:?}. Make sure to enable it in embassy-net's Cargo features.", | 58 | "Unsupported medium {:?}. Make sure to enable it in embassy-net's Cargo features.", |
