diff --git a/src/riot-rs-embassy/src/lib.rs b/src/riot-rs-embassy/src/lib.rs index 9c4fd2bac..2229625d8 100644 --- a/src/riot-rs-embassy/src/lib.rs +++ b/src/riot-rs-embassy/src/lib.rs @@ -32,7 +32,7 @@ pub use static_cell::make_static; pub use embassy_executor::Spawner; -#[cfg(feature = "usb")] +#[cfg(feature = "usb_ethernet")] use usb::ethernet::NetworkDevice; #[cfg(feature = "wifi_cyw43")]