mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +00:00
fixup! feat(stm32-g4): provide a const
constructor on rcc::Config
This commit is contained in:
parent
ca17b41d0d
commit
fce84bd51b
@ -92,7 +92,6 @@ pub struct Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Config {
|
impl Config {
|
||||||
#[inline]
|
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
Config {
|
Config {
|
||||||
hsi: true,
|
hsi: true,
|
||||||
@ -112,7 +111,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