From 2af97e7595ae5d703b5e798a0eeb625fd16036b0 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 1 Oct 2023 23:01:58 +0200 Subject: [PATCH] rcc/f4: fix build on stm32f446 fixes #1989 --- embassy-stm32/src/rcc/f4.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/rcc/f4.rs b/embassy-stm32/src/rcc/f4.rs index ebf78d0e..edc5ff52 100644 --- a/embassy-stm32/src/rcc/f4.rs +++ b/embassy-stm32/src/rcc/f4.rs @@ -52,7 +52,7 @@ fn setup_i2s_pll(_vco_in: u32, _plli2s: Option) -> Option { None } -#[cfg(not(any(stm32f410, stm32f411, stm32f412, stm32f413, stm32f423, stm32f446)))] +#[cfg(not(any(stm32f410, stm32f411, stm32f412, stm32f413, stm32f423)))] fn calculate_sai_i2s_pll_values(vco_in: u32, max_div: u32, target: Option) -> Option<(u32, u32, u32)> { let min_div = 2; let target = match target {