diff options
| -rw-r--r-- | embassy-stm32/src/adc/v3.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-stm32/src/adc/v3.rs b/embassy-stm32/src/adc/v3.rs index 54824c253..8559d0697 100644 --- a/embassy-stm32/src/adc/v3.rs +++ b/embassy-stm32/src/adc/v3.rs | |||
| @@ -551,7 +551,6 @@ impl<'d, T: Instance> Adc<'d, T> { | |||
| 551 | */ | 551 | */ |
| 552 | } | 552 | } |
| 553 | 553 | ||
| 554 | |||
| 555 | #[cfg(not(any(adc_g0, adc_u0)))] | 554 | #[cfg(not(any(adc_g0, adc_u0)))] |
| 556 | impl<'d> Adc<'d, peripherals::ADC2> { | 555 | impl<'d> Adc<'d, peripherals::ADC2> { |
| 557 | pub fn enable_vbat(&self) -> Vbat { | 556 | pub fn enable_vbat(&self) -> Vbat { |
| @@ -598,7 +597,6 @@ impl<'d> Adc<'d, peripherals::ADC2> { | |||
| 598 | } | 597 | } |
| 599 | } | 598 | } |
| 600 | 599 | ||
| 601 | |||
| 602 | impl<'d> Adc<'d, peripherals::ADC1> { | 600 | impl<'d> Adc<'d, peripherals::ADC1> { |
| 603 | pub fn enable_vrefint(&self) -> VrefInt { | 601 | pub fn enable_vrefint(&self) -> VrefInt { |
| 604 | #[cfg(not(any(adc_g0, adc_u0)))] | 602 | #[cfg(not(any(adc_g0, adc_u0)))] |
