Skip to content

Commit

Permalink
Add ADC2 clock in RCC for the connectivity line
Browse files Browse the repository at this point in the history
  • Loading branch information
timokroeger authored and TheZoq2 committed Oct 5, 2020
1 parent 38095be commit f88137a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,10 @@ bus! {
ADC2 => (APB2, adc2en, adc2rst),
CAN1 => (APB1, canen, canrst),
}
#[cfg(feature = "connectivity")]
bus! {
ADC2 => (APB2, adc2en, adc2rst),
}
#[cfg(all(feature = "stm32f103", feature = "high",))]
bus! {
ADC3 => (APB2, adc3en, adc3rst),
Expand Down

0 comments on commit f88137a

Please sign in to comment.