A PicoTCP driver for the lpc1768 mbed board
Dependents: lpc1768-picotcp-demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test TCPSocket_HelloWorld_PicoTCP ... more
Revision 15:53fd77850eee, committed 2014-01-16
- Comitter:
- tass
- Date:
- Thu Jan 16 14:21:58 2014 +0000
- Parent:
- 14:456f2ea9804c
- Commit message:
- fixed warning unused variable
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 Mon Jan 13 09:08:10 2014 +0000 +++ b/pico_dev_mbed_emac.cpp Thu Jan 16 14:21:58 2014 +0000 @@ -704,7 +704,6 @@ static void _emac_phy_status(void const * dev) { static uint8_t phyustate = 0; - uint32_t changed = 0; switch (phyustate) { default: @@ -718,7 +717,7 @@ // Wait for read status state if (!_emac_mii_is_busy()) { // Update PHY status - changed = _emac_update_phy_status(_emac_mii_read_data()); + _emac_update_phy_status(_emac_mii_read_data()); phyustate = 0; } break;