From a913cc2d151c28dcf134677a8f6d8852c1129bd9 Mon Sep 17 00:00:00 2001 From: Justin Beaurivage Date: Thu, 28 Nov 2024 00:22:46 -0500 Subject: [PATCH] Fix compilation when device feature is off --- hal/src/peripherals/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/hal/src/peripherals/mod.rs b/hal/src/peripherals/mod.rs index 18bf3003bba..3e31d190e76 100644 --- a/hal/src/peripherals/mod.rs +++ b/hal/src/peripherals/mod.rs @@ -18,6 +18,7 @@ pub mod calibration {} )] pub mod timer {} +#[cfg(feature = "device")] pub mod eic; #[cfg(feature = "usb")]