Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xoviat committed Oct 15, 2023
1 parent bfee186 commit 3ee781e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/stm32g4/src/bin/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async fn main(_spawner: Spawner) {
div_r: Some(PllR::DIV2),
});

config.rcc.adc12_clock_source = AdcClockSource::SYSCLK;
config.rcc.adc12_clock_source = AdcClockSource::SYS;
config.rcc.mux = ClockSrc::PLL;

let mut p = embassy_stm32::init(config);
Expand Down

0 comments on commit 3ee781e

Please sign in to comment.