File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,10 @@ pub use crate::stm32::interrupt;
8787pub mod adc;
8888#[ cfg( feature = "device-selected" ) ]
8989pub mod bb;
90- #[ cfg( all( feature = "device-selected" , not( any( feature = "stm32f411" , ) ) ) ) ]
90+ #[ cfg( all(
91+ feature = "device-selected" ,
92+ not( any( feature = "stm32f411" , feature = "stm32f412" , ) )
93+ ) ) ]
9194pub mod dac;
9295#[ cfg( feature = "device-selected" ) ]
9396pub mod delay;
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ pub use embedded_hal::digital::v2::StatefulOutputPin as _embedded_hal_digital_v2
44pub use embedded_hal:: digital:: v2:: ToggleableOutputPin as _embedded_hal_digital_v2_ToggleableOutputPin;
55pub use embedded_hal:: prelude:: * ;
66
7+ #[ cfg( all(
8+ feature = "device-selected" ,
9+ not( any( feature = "stm32f411" , feature = "stm32f412" , ) )
10+ ) ) ]
11+ pub use crate :: dac:: DacExt as _stm32f4xx_hal_dac_DacExt;
712pub use crate :: gpio:: GpioExt as _stm32f4xx_hal_gpio_GpioExt;
813pub use crate :: i2c:: Pins as _stm32f4xx_hal_i2c_Pins;
914pub use crate :: rcc:: RccExt as _stm32f4xx_hal_rcc_RccExt;
@@ -18,4 +23,3 @@ pub use crate::rcc::RccExt as _stm32f4xx_hal_rcc_RccExt;
1823) ) ]
1924pub use crate :: rng:: RngExt as _stm32f4xx_hal_rng_RngExt;
2025pub use crate :: time:: U32Ext as _stm32f4xx_hal_time_U32Ext;
21- pub use crate :: dac:: DacExt as _stm32f4xx_hal_dac_DacExt;
You can’t perform that action at this time.
0 commit comments