mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 21:01:06 +00:00
[UCPD] Fix hard reset interrupt disable flags
This commit is contained in:
parent
6e5bb8003a
commit
b634f8f511
@ -484,8 +484,8 @@ impl<'d, T: Instance> PdPhy<'d, T> {
|
||||
|
||||
// Clear the hardreset interrupt flags.
|
||||
T::REGS.icr().write(|w| {
|
||||
w.set_txmsgdisccf(true);
|
||||
w.set_txmsgsentcf(true);
|
||||
w.set_hrstdisccf(true);
|
||||
w.set_hrstsentcf(true);
|
||||
});
|
||||
|
||||
// Trigger hard reset transmission.
|
||||
|
Loading…
x
Reference in New Issue
Block a user