wpan: prepare net impl.

This commit is contained in:
xoviat
2023-07-15 19:02:04 -05:00
parent 25197308e3
commit 0b63af3313
6 changed files with 22 additions and 3 deletions

View File

@ -51,6 +51,8 @@ where
Medium::Ethernet => phy::Medium::Ethernet,
#[cfg(feature = "medium-ip")]
Medium::Ip => phy::Medium::Ip,
#[cfg(feature = "medium-ieee802154")]
Medium::Ieee802154 => phy::Medium::Ieee802154,
#[allow(unreachable_patterns)]
_ => panic!(
"Unsupported medium {:?}. Make sure to enable it in embassy-net's Cargo features.",