aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rcc
diff options
context:
space:
mode:
authorROMemories <[email protected]>2025-05-26 14:43:39 +0200
committerROMemories <[email protected]>2025-05-26 14:43:39 +0200
commit5d6b51d910462b5dc2c5b80eacd3d7199df86965 (patch)
treedf925d9124563696368264d98deecebc573e45c2 /embassy-stm32/src/rcc
parentfce84bd51be5fa52e965255cabbb26d69a1edbab (diff)
fixup! feat(stm32-l): provide a `const` constructor on `rcc::Config`
Diffstat (limited to 'embassy-stm32/src/rcc')
-rw-r--r--embassy-stm32/src/rcc/l.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/l.rs b/embassy-stm32/src/rcc/l.rs
index 91e6ae07e..81b89046e 100644
--- a/embassy-stm32/src/rcc/l.rs
+++ b/embassy-stm32/src/rcc/l.rs
@@ -69,7 +69,6 @@ pub struct Config {
69} 69}
70 70
71impl Config { 71impl Config {
72 #[inline]
73 pub const fn new() -> Self { 72 pub const fn new() -> Self {
74 Config { 73 Config {
75 hse: None, 74 hse: None,
@@ -100,7 +99,6 @@ impl Config {
100} 99}
101 100
102impl Default for Config { 101impl Default for Config {
103 #[inline]
104 fn default() -> Config { 102 fn default() -> Config {
105 Self::new() 103 Self::new()
106 } 104 }