aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROMemories <[email protected]>2025-05-26 14:44:48 +0200
committerROMemories <[email protected]>2025-05-26 14:44:48 +0200
commit44c53365ad387c8d1296751080f4f8117c7d7b5c (patch)
tree8a66b5e9fdc0d4d63781b83bb787e88b1cd77242
parenta5a27ef52b9575edd0d25aff65f49331f676ca82 (diff)
fixup! feat(stm32-l): provide a `const` constructor on `rcc::Config`
-rw-r--r--embassy-stm32/src/rcc/bd.rs1
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
94impl LsConfig { 94impl 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.