diff options
| author | ROMemories <[email protected]> | 2025-05-26 14:43:46 +0200 |
|---|---|---|
| committer | ROMemories <[email protected]> | 2025-05-26 14:43:46 +0200 |
| commit | a5a27ef52b9575edd0d25aff65f49331f676ca82 (patch) | |
| tree | eb027a8cb6b4da0a9d38aabe276f31dd9df6f7d3 | |
| parent | 5d6b51d910462b5dc2c5b80eacd3d7199df86965 (diff) | |
fixup! feat(stm32-wba): provide a `const` constructor on `rcc::Config`
| -rw-r--r-- | embassy-stm32/src/rcc/wba.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/wba.rs b/embassy-stm32/src/rcc/wba.rs index 98d2dcf0e..b9fc4e423 100644 --- a/embassy-stm32/src/rcc/wba.rs +++ b/embassy-stm32/src/rcc/wba.rs | |||
| @@ -38,7 +38,6 @@ pub struct Config { | |||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | impl Config { | 40 | impl Config { |
| 41 | #[inline] | ||
| 42 | pub const fn new() -> Self { | 41 | pub const fn new() -> Self { |
| 43 | Config { | 42 | Config { |
| 44 | hse: None, | 43 | hse: None, |
| @@ -56,7 +55,6 @@ impl Config { | |||
| 56 | } | 55 | } |
| 57 | 56 | ||
| 58 | impl Default for Config { | 57 | impl Default for Config { |
| 59 | #[inline] | ||
| 60 | fn default() -> Config { | 58 | fn default() -> Config { |
| 61 | Self::new() | 59 | Self::new() |
| 62 | } | 60 | } |
