aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rcc/h.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs
index c6da79afb..7b2255cc6 100644
--- a/embassy-stm32/src/rcc/h.rs
+++ b/embassy-stm32/src/rcc/h.rs
@@ -557,6 +557,9 @@ pub(crate) unsafe fn init(config: Config) {
557 RCC.d3ccipr().modify(|w| { 557 RCC.d3ccipr().modify(|w| {
558 w.set_adcsel(config.adc_clock_source); 558 w.set_adcsel(config.adc_clock_source);
559 }); 559 });
560 RCC.d2ccip1r().modify(|w| {
561 w.set_fdcansel(config.fdcan_clock_source);
562 });
560 } 563 }
561 #[cfg(stm32h5)] 564 #[cfg(stm32h5)]
562 { 565 {