From 7f258cd3c403fc2fe1837afbecc1bf88da46cb5a Mon Sep 17 00:00:00 2001 From: RobertTDowling Date: Sun, 19 Nov 2023 15:56:34 -0800 Subject: [PATCH] PR feedback --- embassy-stm32/src/rcc/h.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs index bdae850f..1a9603d0 100644 --- a/embassy-stm32/src/rcc/h.rs +++ b/embassy-stm32/src/rcc/h.rs @@ -170,9 +170,9 @@ impl Default for Config { per_clock_source: PerClockSource::HSI, #[cfg(stm32h5)] - adc_clock_source: AdcClockSource::from_bits(0), // HCLK on H5 + adc_clock_source: AdcClockSource::HCLK1, #[cfg(stm32h7)] - adc_clock_source: AdcClockSource::from_bits(2), // PCLK on H7 + adc_clock_source: AdcClockSource::PER, timer_prescaler: TimerPrescaler::DefaultX2, voltage_scale: VoltageScale::Scale0,