diff options
| author | xoviat <[email protected]> | 2023-10-20 20:21:53 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-10-20 20:21:53 -0500 |
| commit | 0fb677aad7ab185491ffe012c64a1f603daf04f0 (patch) | |
| tree | 08f0dc83d98619c9e436155f869341dfcc8e2deb /tests | |
| parent | b1d0947a18ffaa55d9307b2e563f7e3662486eb9 (diff) | |
stm32: update metapac
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/common.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/stm32/src/common.rs b/tests/stm32/src/common.rs index 8dde71fb3..95b5318f7 100644 --- a/tests/stm32/src/common.rs +++ b/tests/stm32/src/common.rs | |||
| @@ -323,14 +323,7 @@ pub fn config() -> Config { | |||
| 323 | #[cfg(any(feature = "stm32l496zg", feature = "stm32l4a6zg", feature = "stm32l4r5zi"))] | 323 | #[cfg(any(feature = "stm32l496zg", feature = "stm32l4a6zg", feature = "stm32l4r5zi"))] |
| 324 | { | 324 | { |
| 325 | use embassy_stm32::rcc::*; | 325 | use embassy_stm32::rcc::*; |
| 326 | #[cfg(feature = "stm32l4r5zi")] | 326 | config.rcc.mux = ClockSrc::PLL1_R; |
| 327 | { | ||
| 328 | config.rcc.mux = ClockSrc::PLL1_R; | ||
| 329 | } | ||
| 330 | #[cfg(not(feature = "stm32l4r5zi"))] | ||
| 331 | { | ||
| 332 | config.rcc.mux = ClockSrc::PLL1_P; | ||
| 333 | } | ||
| 334 | config.rcc.hsi16 = true; | 327 | config.rcc.hsi16 = true; |
| 335 | config.rcc.pll = Some(Pll { | 328 | config.rcc.pll = Some(Pll { |
| 336 | source: PLLSource::HSI, | 329 | source: PLLSource::HSI, |
