stm32/ipcc: add clear debug
This commit is contained in:
parent
6ef060ca17
commit
4c9b7befaa
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ impl Ipcc {
|
|||
pub fn c1_clear_flag_channel(channel: IpccChannel) {
|
||||
let regs = IPCC::regs();
|
||||
|
||||
trace!("ipcc: ch {}: clear rx", channel as u8);
|
||||
unsafe { regs.cpu(0).scr().write(|w| w.set_chc(channel as usize, true)) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue