diff options
| author | ROMemories <[email protected]> | 2025-05-26 14:43:39 +0200 |
|---|---|---|
| committer | ROMemories <[email protected]> | 2025-05-26 14:43:39 +0200 |
| commit | 5d6b51d910462b5dc2c5b80eacd3d7199df86965 (patch) | |
| tree | df925d9124563696368264d98deecebc573e45c2 /embassy-stm32/src/rcc | |
| parent | fce84bd51be5fa52e965255cabbb26d69a1edbab (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.rs | 2 |
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 | ||
| 71 | impl Config { | 71 | impl 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 | ||
| 102 | impl Default for Config { | 101 | impl Default for Config { |
| 103 | #[inline] | ||
| 104 | fn default() -> Config { | 102 | fn default() -> Config { |
| 105 | Self::new() | 103 | Self::new() |
| 106 | } | 104 | } |
