stm32/rcc: use more PLL etc enums from PAC.
This commit is contained in:
@ -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::SYSCLK;
|
||||
config.rcc.mux = ClockSrc::PLL;
|
||||
|
||||
let mut p = embassy_stm32::init(config);
|
||||
|
Reference in New Issue
Block a user