1
0
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:
benpicco 2021-04-23 22:50:24 +02:00 committed by GitHub
commit fed2c8e87e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}