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 {
|
if config.is_sync_output {
|
||||||
let syncout: u8 = match sub_block {
|
let syncout: u8 = match sub_block {
|
||||||
SubBlock::A => 0b01,
|
WhichSubBlock::A => 0b01,
|
||||||
SubBlock::B => 0b10,
|
WhichSubBlock::B => 0b10,
|
||||||
};
|
};
|
||||||
T::REGS.gcr().modify(|w| {
|
T::REGS.gcr().modify(|w| {
|
||||||
w.set_syncout(syncout);
|
w.set_syncout(syncout);
|
||||||
|
@ -1056,7 +1056,7 @@ foreach_peripheral!(
|
||||||
|
|
||||||
impl<'d, T: Instance> SetConfig for Sai<'d, T> {
|
impl<'d, T: Instance> SetConfig for Sai<'d, T> {
|
||||||
type Config = Config;
|
type Config = Config;
|
||||||
fn set_config(&mut self, config: &Self::Config) {
|
fn set_config(&mut self, _config: &Self::Config) {
|
||||||
// self.reconfigure(*config);
|
// self.reconfigure(*config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue