diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-10-11 01:01:27 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-10-11 01:06:44 +0200 |
| commit | d0d0ceec6acc0bae8a16f0ebdffaf24b40a018cd (patch) | |
| tree | 15b366498a888c75450cea9d3c4dcee58dc3f6c4 /embassy-stm32/src/rcc/wba.rs | |
| parent | 9be61a2967ad48c8faf6a25770c3be1b110b29a4 (diff) | |
stm32/rcc: rename HSE32 to HSE
Diffstat (limited to 'embassy-stm32/src/rcc/wba.rs')
| -rw-r--r-- | embassy-stm32/src/rcc/wba.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/wba.rs b/embassy-stm32/src/rcc/wba.rs index 9ade369f5..d79b3063e 100644 --- a/embassy-stm32/src/rcc/wba.rs +++ b/embassy-stm32/src/rcc/wba.rs | |||
| @@ -28,7 +28,7 @@ pub enum PllSrc { | |||
| 28 | impl Into<Pllsrc> for PllSrc { | 28 | impl Into<Pllsrc> for PllSrc { |
| 29 | fn into(self) -> Pllsrc { | 29 | fn into(self) -> Pllsrc { |
| 30 | match self { | 30 | match self { |
| 31 | PllSrc::HSE(..) => Pllsrc::HSE32, | 31 | PllSrc::HSE(..) => Pllsrc::HSE, |
| 32 | PllSrc::HSI16 => Pllsrc::HSI16, | 32 | PllSrc::HSI16 => Pllsrc::HSI16, |
| 33 | } | 33 | } |
| 34 | } | 34 | } |
| @@ -37,7 +37,7 @@ impl Into<Pllsrc> for PllSrc { | |||
| 37 | impl Into<Sw> for ClockSrc { | 37 | impl Into<Sw> for ClockSrc { |
| 38 | fn into(self) -> Sw { | 38 | fn into(self) -> Sw { |
| 39 | match self { | 39 | match self { |
| 40 | ClockSrc::HSE(..) => Sw::HSE32, | 40 | ClockSrc::HSE(..) => Sw::HSE, |
| 41 | ClockSrc::HSI16 => Sw::HSI16, | 41 | ClockSrc::HSI16 => Sw::HSI16, |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
