fixup! feat(stm32-l): provide a const constructor on rcc::Config
This commit is contained in:
parent
fce84bd51b
commit
5d6b51d910
@ -69,7 +69,6 @@ pub struct Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Config {
|
impl Config {
|
||||||
#[inline]
|
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
Config {
|
Config {
|
||||||
hse: None,
|
hse: None,
|
||||||
@ -100,7 +99,6 @@ impl Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Default for Config {
|
impl Default for Config {
|
||||||
#[inline]
|
|
||||||
fn default() -> Config {
|
fn default() -> Config {
|
||||||
Self::new()
|
Self::new()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user