Skip to content

Commit 50595f3

Browse files
committed
Also treat RBU and TBU as receive and transmit interrupts
1 parent 5338c4c commit 50595f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dma/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ impl<'rx, 'tx> EthernetDMA<'rx, 'tx> {
358358
}
359359

360360
(
361-
status.ri().bit_is_set(),
362-
status.ti().bit_is_set(),
361+
status.ri().bit_is_set() || status.rbu().bit_is_set(),
362+
status.ti().bit_is_set() || status.tbu().bit_is_set(),
363363
status.ais().bit_is_set(),
364364
)
365365
};

0 commit comments

Comments
 (0)