mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 12:20:37 +00:00
fixup! feat(stm32-g0): provide a const
constructor on rcc::Config
This commit is contained in:
parent
8fa07ac062
commit
ca17b41d0d
@ -98,7 +98,6 @@ pub struct Config {
|
||||
}
|
||||
|
||||
impl Config {
|
||||
#[inline]
|
||||
pub const fn new() -> Self {
|
||||
Config {
|
||||
hsi: Some(Hsi {
|
||||
@ -120,7 +119,6 @@ impl Config {
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
#[inline]
|
||||
fn default() -> Config {
|
||||
Self::new()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user