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