fixup! feat(stm32-l): provide a const constructor on rcc::Config
This commit is contained in:
@@ -92,6 +92,7 @@ pub struct LsConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl LsConfig {
|
impl LsConfig {
|
||||||
|
/// Creates an [`LsConfig`] using the LSI when possible.
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
// on L5, just the fact that LSI is enabled makes things crash.
|
// on L5, just the fact that LSI is enabled makes things crash.
|
||||||
// TODO: investigate.
|
// TODO: investigate.
|
||||||
|
|||||||
Reference in New Issue
Block a user