aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32
diff options
context:
space:
mode:
authorobe1line <[email protected]>2025-07-21 14:27:05 +1000
committerGitHub <[email protected]>2025-07-21 14:27:05 +1000
commit6bfdbf0ed827da7ab447359f97799cc1b707fde9 (patch)
treef0b50aac86bb1f98879f12f323687bbba17156a8 /embassy-stm32
parent87f469792a5e41cb415ce51dd6fa85908248b478 (diff)
Added stm32fc071 to cfg to force RCC.cr to be used
Diffstat (limited to 'embassy-stm32')
-rw-r--r--embassy-stm32/src/rcc/hsi48.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/hsi48.rs b/embassy-stm32/src/rcc/hsi48.rs
index 3ea5c96c9..49be4af5e 100644
--- a/embassy-stm32/src/rcc/hsi48.rs
+++ b/embassy-stm32/src/rcc/hsi48.rs
@@ -39,9 +39,9 @@ pub(crate) fn init_hsi48(config: Hsi48Config) -> Hertz {
39 }); 39 });
40 40
41 // Enable HSI48 41 // Enable HSI48
42 #[cfg(not(any(stm32u5, stm32g0, stm32h5, stm32h7, stm32h7rs, stm32u5, stm32wba, stm32f0)))] 42 #[cfg(not(any(stm32u5, stm32g0, stm32h5, stm32h7, stm32h7rs, stm32u5, stm32wba, stm32f0, stm32c071)))]
43 let r = RCC.crrcr(); 43 let r = RCC.crrcr();
44 #[cfg(any(stm32u5, stm32g0, stm32h5, stm32h7, stm32h7rs, stm32u5, stm32wba))] 44 #[cfg(any(stm32u5, stm32g0, stm32h5, stm32h7, stm32h7rs, stm32u5, stm32wba, stm32c071))]
45 let r = RCC.cr(); 45 let r = RCC.cr();
46 #[cfg(any(stm32f0))] 46 #[cfg(any(stm32f0))]
47 let r = RCC.cr2(); 47 let r = RCC.cr2();