A PicoTCP driver for the lpc1768 mbed board in polling mode, to allow usage with the legacy PicoTCP API

Dependents:   ZeroMQ_PicoTCP_Publisher_demo

Fork of lpc1768-picotcp-eth by TASS Belgium

Revision:
1:5704aeb1157d
Parent:
0:b6a2ecc0d29e
Child:
2:a8d9cf10e65a
--- 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;