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: JRO_CR2 K64F_EthLink_HelloWorld frdm_test JRO_DDSv2
Revision 1:cbd7e77b6e38, committed 2014-10-01
- Comitter:
- loopsva
- Date:
- Wed Oct 01 00:23:48 2014 +0000
- Parent:
- 0:a447869e1046
- Child:
- 2:59166b94dfd0
- Commit message:
- Changed MDIO timeout from 200mS to 300mS
Changed in this revision
| k64f_EthLink.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/k64f_EthLink.cpp Tue Sep 30 21:48:34 2014 +0000
+++ b/k64f_EthLink.cpp Wed Oct 01 00:23:48 2014 +0000
@@ -19,8 +19,8 @@
k64f_mdio_reg = ENET_EIR;
Thread::wait(1); //release RTOS to do other functions
mdio_timer++;
- } while(((k64f_mdio_reg & MDIO_MII_READY_BIT) == 0) && (mdio_timer < 200));
- if(mdio_timer > 198) { //average is about 122mS
+ } while(((k64f_mdio_reg & MDIO_MII_READY_BIT) == 0) && (mdio_timer < 300));
+ if(mdio_timer > 298) { //average is about 122mS
return(MDIO_TIMEOUT); //timeout error
}