Issue #1986 fix ci build errors

This commit is contained in:
Tyler Gilbert 2023-09-30 22:51:23 -05:00
parent 5dd9e9b3b7
commit 0d49aaf8ca

View File

@ -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);
}
}