File tree 2 files changed +9
-2
lines changed
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;
87
87
pub mod adc;
88
88
#[ cfg( feature = "device-selected" ) ]
89
89
pub 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
+ ) ) ]
91
94
pub mod dac;
92
95
#[ cfg( feature = "device-selected" ) ]
93
96
pub 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
4
4
pub use embedded_hal:: digital:: v2:: ToggleableOutputPin as _embedded_hal_digital_v2_ToggleableOutputPin;
5
5
pub use embedded_hal:: prelude:: * ;
6
6
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;
7
12
pub use crate :: gpio:: GpioExt as _stm32f4xx_hal_gpio_GpioExt;
8
13
pub use crate :: i2c:: Pins as _stm32f4xx_hal_i2c_Pins;
9
14
pub use crate :: rcc:: RccExt as _stm32f4xx_hal_rcc_RccExt;
@@ -18,4 +23,3 @@ pub use crate::rcc::RccExt as _stm32f4xx_hal_rcc_RccExt;
18
23
) ) ]
19
24
pub use crate :: rng:: RngExt as _stm32f4xx_hal_rng_RngExt;
20
25
pub 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