A PicoTCP driver for the lpc1768 mbed board
Dependents: lpc1768-picotcp-demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test TCPSocket_HelloWorld_PicoTCP ... more
Diff: pico_dev_mbed_emac.cpp
- Revision:
- 2:a8d9cf10e65a
- Parent:
- 1:5704aeb1157d
- Child:
- 3:8689b9c62672
diff -r 5704aeb1157d -r a8d9cf10e65a pico_dev_mbed_emac.cpp --- a/pico_dev_mbed_emac.cpp Thu Jun 06 07:11:03 2013 +0000 +++ b/pico_dev_mbed_emac.cpp Sun Jun 09 16:27:08 2013 +0000 @@ -171,7 +171,7 @@ // Create periodic PHY status update thread osTimerId phy_timer = osTimerCreate(osTimer(_emac_phy_status), osTimerPeriodic, (void *)mbdev); - osTimerStart(phy_timer, 250); + osTimerStart(phy_timer, 100); //printf("ETH> Device %s created.\r\n", mbdev->dev.name); @@ -631,7 +631,6 @@ } // Full or half duplex - /* if (linksts & DP8_FULLDUPLEX) printf(" Full duplex mode ! --"); else @@ -642,7 +641,6 @@ printf(" @ 10 MBPS\r\n"); else printf(" @ 100 MBPS\r\n"); - */ } return changed;