Skip to content

Commit

Permalink
Also treat RBU and TBU as receive and transmit interrupts
Browse files Browse the repository at this point in the history
  • Loading branch information
datdenkikniet committed Mar 12, 2023
1 parent 5338c4c commit 50595f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dma/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ impl<'rx, 'tx> EthernetDMA<'rx, 'tx> {
}

(
status.ri().bit_is_set(),
status.ti().bit_is_set(),
status.ri().bit_is_set() || status.rbu().bit_is_set(),
status.ti().bit_is_set() || status.tbu().bit_is_set(),
status.ais().bit_is_set(),
)
};
Expand Down

0 comments on commit 50595f3

Please sign in to comment.