mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-30 22:01:07 +00:00
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 {
|
||||
#[inline]
|
||||
pub const fn new() -> Self {
|
||||
Config {
|
||||
hse: None,
|
||||
@ -100,7 +99,6 @@ impl Config {
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
#[inline]
|
||||
fn default() -> Config {
|
||||
Self::new()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user