Skip to content

Commit f88137a

Browse files
timokroegerTheZoq2
authored andcommitted
Add ADC2 clock in RCC for the connectivity line
1 parent 38095be commit f88137a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rcc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,10 @@ bus! {
648648
ADC2 => (APB2, adc2en, adc2rst),
649649
CAN1 => (APB1, canen, canrst),
650650
}
651+
#[cfg(feature = "connectivity")]
652+
bus! {
653+
ADC2 => (APB2, adc2en, adc2rst),
654+
}
651655
#[cfg(all(feature = "stm32f103", feature = "high",))]
652656
bus! {
653657
ADC3 => (APB2, adc3en, adc3rst),

0 commit comments

Comments
 (0)