diff options
| author | RobertTDowling <[email protected]> | 2023-11-19 15:56:34 -0800 |
|---|---|---|
| committer | RobertTDowling <[email protected]> | 2023-11-19 15:56:34 -0800 |
| commit | 7f258cd3c403fc2fe1837afbecc1bf88da46cb5a (patch) | |
| tree | 4feb4812357b473f0e84998d62036efa13d4895e /embassy-stm32 | |
| parent | 4947b136156e923447456edd8a28fe391e158dcd (diff) | |
PR feedback
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/src/rcc/h.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs index bdae850f7..1a9603d02 100644 --- a/embassy-stm32/src/rcc/h.rs +++ b/embassy-stm32/src/rcc/h.rs | |||
| @@ -170,9 +170,9 @@ impl Default for Config { | |||
| 170 | per_clock_source: PerClockSource::HSI, | 170 | per_clock_source: PerClockSource::HSI, |
| 171 | 171 | ||
| 172 | #[cfg(stm32h5)] | 172 | #[cfg(stm32h5)] |
| 173 | adc_clock_source: AdcClockSource::from_bits(0), // HCLK on H5 | 173 | adc_clock_source: AdcClockSource::HCLK1, |
| 174 | #[cfg(stm32h7)] | 174 | #[cfg(stm32h7)] |
| 175 | adc_clock_source: AdcClockSource::from_bits(2), // PCLK on H7 | 175 | adc_clock_source: AdcClockSource::PER, |
| 176 | 176 | ||
| 177 | timer_prescaler: TimerPrescaler::DefaultX2, | 177 | timer_prescaler: TimerPrescaler::DefaultX2, |
| 178 | voltage_scale: VoltageScale::Scale0, | 178 | voltage_scale: VoltageScale::Scale0, |
