Issue #1986 fix ci build errors
This commit is contained in:
parent
5dd9e9b3b7
commit
0d49aaf8ca
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue