mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
Merge pull request #16383 from benpicco/sam0_eth/eth-netdev_fix_rec
cpu/sam0_common: ethernet: fix RX detection
This commit is contained in:
commit
fed2c8e87e
@ -151,7 +151,7 @@ void isr_gmac(void)
|
||||
tsr = GMAC->TSR.reg;
|
||||
rsr = GMAC->RSR.reg;
|
||||
|
||||
if (rsr == GMAC_RSR_REC) {
|
||||
if (rsr & GMAC_RSR_REC) {
|
||||
netdev_trigger_event_isr(_sam0_eth_dev.netdev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user