aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/sai/mod.rs6
1 files 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> {
880 880
881 if config.is_sync_output { 881 if config.is_sync_output {
882 let syncout: u8 = match sub_block { 882 let syncout: u8 = match sub_block {
883 SubBlock::A => 0b01, 883 WhichSubBlock::A => 0b01,
884 SubBlock::B => 0b10, 884 WhichSubBlock::B => 0b10,
885 }; 885 };
886 T::REGS.gcr().modify(|w| { 886 T::REGS.gcr().modify(|w| {
887 w.set_syncout(syncout); 887 w.set_syncout(syncout);
@@ -1056,7 +1056,7 @@ foreach_peripheral!(
1056 1056
1057impl<'d, T: Instance> SetConfig for Sai<'d, T> { 1057impl<'d, T: Instance> SetConfig for Sai<'d, T> {
1058 type Config = Config; 1058 type Config = Config;
1059 fn set_config(&mut self, config: &Self::Config) { 1059 fn set_config(&mut self, _config: &Self::Config) {
1060 // self.reconfigure(*config); 1060 // self.reconfigure(*config);
1061 } 1061 }
1062} 1062}