From 0d49aaf8ca5970738f7d16962d5d6002e1bdece6 Mon Sep 17 00:00:00 2001 From: Tyler Gilbert Date: Sat, 30 Sep 2023 22:51:23 -0500 Subject: [PATCH] Issue #1986 fix ci build errors --- embassy-stm32/src/sai/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embassy-stm32/src/sai/mod.rs b/embassy-stm32/src/sai/mod.rs index 438e85b66..2741b790b 100644 --- a/embassy-stm32/src/sai/mod.rs +++ b/embassy-stm32/src/sai/mod.rs @@ -880,8 +880,8 @@ impl<'d, T: Instance, C: Channel, W: word::Word> SubBlock<'d, T, C, W> { if config.is_sync_output { let syncout: u8 = match sub_block { - SubBlock::A => 0b01, - SubBlock::B => 0b10, + WhichSubBlock::A => 0b01, + WhichSubBlock::B => 0b10, }; T::REGS.gcr().modify(|w| { w.set_syncout(syncout); @@ -1056,7 +1056,7 @@ foreach_peripheral!( impl<'d, T: Instance> SetConfig for Sai<'d, T> { type Config = Config; - fn set_config(&mut self, config: &Self::Config) { + fn set_config(&mut self, _config: &Self::Config) { // self.reconfigure(*config); } }