Skip to content

Commit

Permalink
tests/stm32: fix h7 wrong smps config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Jan 20, 2024
1 parent a2eb46e commit b104506
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/stm32/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ pub fn config() -> Config {
config.rcc.apb4_pre = APBPrescaler::DIV2; // 100 Mhz
config.rcc.voltage_scale = VoltageScale::Scale1;
config.rcc.adc_clock_source = AdcClockSource::PLL2_P;
config.rcc.supply_config = SupplyConfig::DirectSMPS;
}

#[cfg(any(feature = "stm32h7a3zi"))]
Expand Down

0 comments on commit b104506

Please sign in to comment.