From f6c4e9335b49163ee6f29231893cbd394981fc3a Mon Sep 17 00:00:00 2001 From: Jacob Rosenthal Date: Sat, 27 Jun 2020 23:01:00 -0700 Subject: [PATCH] whack --- src/lib.rs | 2 +- src/prelude.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index dbf058784..0ebe8871f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -89,7 +89,7 @@ pub mod adc; pub mod bb; #[cfg(all( feature = "device-selected", - not(any(feature = "stm32f411", feature = "stm32f412",)) + not(any(feature = "stm32f411", feature = "stm32f412", feature = "stm32f401",)) ))] pub mod dac; #[cfg(feature = "device-selected")] diff --git a/src/prelude.rs b/src/prelude.rs index 4717faada..f4dd80fcf 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -6,7 +6,7 @@ pub use embedded_hal::prelude::*; #[cfg(all( feature = "device-selected", - not(any(feature = "stm32f411", feature = "stm32f412",)) + not(any(feature = "stm32f411", feature = "stm32f412", feature = "stm32f401",)) ))] pub use crate::dac::DacExt as _stm32f4xx_hal_dac_DacExt; pub use crate::gpio::GpioExt as _stm32f4xx_hal_gpio_GpioExt;