From 5d6b51d910462b5dc2c5b80eacd3d7199df86965 Mon Sep 17 00:00:00 2001 From: ROMemories <152802150+ROMemories@users.noreply.github.com> Date: Mon, 26 May 2025 14:43:39 +0200 Subject: [PATCH] fixup! feat(stm32-l): provide a `const` constructor on `rcc::Config` --- embassy-stm32/src/rcc/l.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/embassy-stm32/src/rcc/l.rs b/embassy-stm32/src/rcc/l.rs index 91e6ae07e..81b89046e 100644 --- a/embassy-stm32/src/rcc/l.rs +++ b/embassy-stm32/src/rcc/l.rs @@ -69,7 +69,6 @@ pub struct Config { } impl Config { - #[inline] pub const fn new() -> Self { Config { hse: None, @@ -100,7 +99,6 @@ impl Config { } impl Default for Config { - #[inline] fn default() -> Config { Self::new() }