fixup! feat(stm32-g4): provide a const constructor on rcc::Config

This commit is contained in:
ROMemories 2025-05-26 14:43:29 +02:00
parent ca17b41d0d
commit fce84bd51b

View File

@ -92,7 +92,6 @@ pub struct Config {
}
impl Config {
#[inline]
pub const fn new() -> Self {
Config {
hsi: true,
@ -112,7 +111,6 @@ impl Config {
}
impl Default for Config {
#[inline]
fn default() -> Config {
Self::new()
}