fixup! feat(stm32-l): provide a const constructor on rcc::Config
This commit is contained in:
parent
a5a27ef52b
commit
44c53365ad
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user