URL
https://opencores.org/ocsvn/plasma/plasma/trunk
Subversion Repositories plasma
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 372 to Rev 373
- ↔ Reverse comparison
Rev 372 → Rev 373
/plasma/trunk/kernel/ethernet.c
273,8 → 273,8
break; |
} |
length = EthernetReceive(ethFrame->packet, PACKET_SIZE); |
if(length == 0) |
break; |
if(length == 0) |
break; |
Led(1, 1); |
rc = IPProcessEthernetPacket(ethFrame, length); |
Led(1, 0); |
283,7 → 283,7
} |
|
ticks = OS_ThreadTime(); |
if(ticks - ticksLast > 50) |
if(ticks - ticksLast >= 50) |
{ |
IPTick(); |
ticksLast = ticks; |
294,9 → 294,9
|
void EthernetIsr(void *arg) |
{ |
(void)arg; |
(void)arg; |
OS_InterruptMaskClear(IRQ_ETHERNET_TRANSMIT | IRQ_ETHERNET_RECEIVE); |
OS_SemaphorePost(SemEthernet); |
OS_SemaphorePost(SemEthernet); |
} |
|
|