mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 06:40:32 +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 {
|
impl Config {
|
||||||
#[inline]
|
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
Config {
|
Config {
|
||||||
hsi: Some(Hsi {
|
hsi: Some(Hsi {
|
||||||
@ -78,7 +77,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