A PicoTCP driver for the lpc1768 mbed board
Dependents: lpc1768-picotcp-demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test TCPSocket_HelloWorld_PicoTCP ... more
Revision 1:5704aeb1157d, committed 2013-06-06
- Comitter:
- daniele
- Date:
- Thu Jun 06 07:11:03 2013 +0000
- Parent:
- 0:b6a2ecc0d29e
- Child:
- 2:a8d9cf10e65a
- Commit message:
- Use explicit shared queue for the receive queue
Changed in this revision
pico_dev_mbed_emac.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/pico_dev_mbed_emac.cpp Fri May 17 12:50:42 2013 +0000 +++ b/pico_dev_mbed_emac.cpp Thu Jun 06 07:11:03 2013 +0000 @@ -158,6 +158,8 @@ _emac_destroy(&mbdev->dev); return NULL; } + + pico_queue_protect(((struct pico_device *)mbdev)->q_in); // Set function pointers mbdev->dev.send = _emac_send_frame;