diff options
| author | Tyler Gilbert <[email protected]> | 2023-09-30 22:51:23 -0500 |
|---|---|---|
| committer | Tyler Gilbert <[email protected]> | 2023-09-30 22:51:23 -0500 |
| commit | 0d49aaf8ca5970738f7d16962d5d6002e1bdece6 (patch) | |
| tree | 4e4973e8c9b366e7db1426359f17bfa7e95530d4 | |
| parent | 5dd9e9b3b75bb45f284a16b96a7ff4358bd0be31 (diff) | |
Issue #1986 fix ci build errors
| -rw-r--r-- | embassy-stm32/src/sai/mod.rs | 6 |
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 | ||
| 1057 | impl<'d, T: Instance> SetConfig for Sai<'d, T> { | 1057 | impl<'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 | } |
