From 2d053ef5cd8f676a7c3654e454904802864901dc Mon Sep 17 00:00:00 2001 From: ROMemories Date: Thu, 22 Feb 2024 17:19:54 +0100 Subject: [PATCH] fix(embassy): fix the feature-gate on the USB Ethernet device --- src/riot-rs-embassy/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")]