diff --git a/embassy-stm32/src/rcc/f4.rs b/embassy-stm32/src/rcc/f4.rs index 3e2345c6..e8dfba01 100644 --- a/embassy-stm32/src/rcc/f4.rs +++ b/embassy-stm32/src/rcc/f4.rs @@ -34,13 +34,13 @@ pub struct Config { } #[cfg(stm32f410)] -unsafe fn setup_i2s_pll(vco_in: u32, plli2s: Option) -> Option { +unsafe fn setup_i2s_pll(_vco_in: u32, _plli2s: Option) -> Option { None } // Not currently implemented, but will be in the future #[cfg(any(stm32f411, stm32f412, stm32f413, stm32f423, stm32f446))] -unsafe fn setup_i2s_pll(vco_in: u32, plli2s: Option) -> Option { +unsafe fn setup_i2s_pll(_vco_in: u32, _plli2s: Option) -> Option { None } @@ -480,6 +480,7 @@ struct PllResults { use_pll: bool, pllsysclk: Option, pll48clk: Option, + #[allow(dead_code)] plli2sclk: Option, }