mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
fixup! feat(stm32-c0): provide a const
constructor on rcc::Config
This commit is contained in:
parent
576241fe2a
commit
8fa07ac062
@ -60,7 +60,6 @@ pub struct Config {
|
||||
}
|
||||
|
||||
impl Config {
|
||||
#[inline]
|
||||
pub const fn new() -> Self {
|
||||
Config {
|
||||
hsi: Some(Hsi {
|
||||
@ -78,7 +77,6 @@ impl Config {
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
#[inline]
|
||||
fn default() -> Config {
|
||||
Self::new()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user