diff options
| author | ROMemories <[email protected]> | 2025-05-26 14:44:48 +0200 |
|---|---|---|
| committer | ROMemories <[email protected]> | 2025-05-26 14:44:48 +0200 |
| commit | 44c53365ad387c8d1296751080f4f8117c7d7b5c (patch) | |
| tree | 8a66b5e9fdc0d4d63781b83bb787e88b1cd77242 | |
| parent | a5a27ef52b9575edd0d25aff65f49331f676ca82 (diff) | |
fixup! feat(stm32-l): provide a `const` constructor on `rcc::Config`
| -rw-r--r-- | embassy-stm32/src/rcc/bd.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/rcc/bd.rs b/embassy-stm32/src/rcc/bd.rs index 939c05907..e2c704405 100644 --- a/embassy-stm32/src/rcc/bd.rs +++ b/embassy-stm32/src/rcc/bd.rs | |||
| @@ -92,6 +92,7 @@ pub struct LsConfig { | |||
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | impl LsConfig { | 94 | impl LsConfig { |
| 95 | /// Creates an [`LsConfig`] using the LSI when possible. | ||
| 95 | pub const fn new() -> Self { | 96 | pub const fn new() -> Self { |
| 96 | // on L5, just the fact that LSI is enabled makes things crash. | 97 | // on L5, just the fact that LSI is enabled makes things crash. |
| 97 | // TODO: investigate. | 98 | // TODO: investigate. |
