aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rcc/wba.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-10-11 01:01:27 +0200
committerDario Nieuwenhuis <[email protected]>2023-10-11 01:06:44 +0200
commitd0d0ceec6acc0bae8a16f0ebdffaf24b40a018cd (patch)
tree15b366498a888c75450cea9d3c4dcee58dc3f6c4 /embassy-stm32/src/rcc/wba.rs
parent9be61a2967ad48c8faf6a25770c3be1b110b29a4 (diff)
stm32/rcc: rename HSE32 to HSE
Diffstat (limited to 'embassy-stm32/src/rcc/wba.rs')
-rw-r--r--embassy-stm32/src/rcc/wba.rs4
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 {
28impl Into<Pllsrc> for PllSrc { 28impl 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 {
37impl Into<Sw> for ClockSrc { 37impl 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 }