fixup! feat(stm32-l): provide a const constructor on rcc::Config

This commit is contained in:
ROMemories 2025-05-26 14:44:48 +02:00
parent a5a27ef52b
commit 44c53365ad

View File

@ -92,6 +92,7 @@ pub struct LsConfig {
}
impl LsConfig {
/// Creates an [`LsConfig`] using the LSI when possible.
pub const fn new() -> Self {
// on L5, just the fact that LSI is enabled makes things crash.
// TODO: investigate.