aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-10-14 23:33:57 -0500
committerxoviat <[email protected]>2023-10-14 23:33:57 -0500
commit4a156df7a1e3ed9513cc61cb063d7af86b5cc2fb (patch)
tree61d84d989df3f7b4b142e745cbd3d4c2a6a989bb /examples
parentc46e758e2c897d24f56b5225fde4a0bfe1778cd9 (diff)
stm32: expand rcc mux to g4 and h7
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32g4/src/bin/adc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32g4/src/bin/adc.rs b/examples/stm32g4/src/bin/adc.rs
index 9daf4e4cb..db7f6ecb5 100644
--- a/examples/stm32g4/src/bin/adc.rs
+++ b/examples/stm32g4/src/bin/adc.rs
@@ -24,7 +24,7 @@ async fn main(_spawner: Spawner) {
24 div_r: Some(PllR::DIV2), 24 div_r: Some(PllR::DIV2),
25 }); 25 });
26 26
27 config.rcc.adc12_clock_source = AdcClockSource::SYSCLK; 27 config.rcc.adc12_clock_source = AdcClockSource::SYS;
28 config.rcc.mux = ClockSrc::PLL; 28 config.rcc.mux = ClockSrc::PLL;
29 29
30 let mut p = embassy_stm32::init(config); 30 let mut p = embassy_stm32::init(config);