Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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;
