microudp: fix if (

This commit is contained in:
Florent Kermarrec 2015-04-12 18:52:35 +02:00
parent 515398634f
commit 4abe8e1d9e
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ void ethmode(void)
printf("Ethernet phy mode: "); printf("Ethernet phy mode: ");
/* if freq > 120 MHz, use GMII (5MHz margin)*/ /* if freq > 120 MHz, use GMII (5MHz margin)*/
if (ethphy_clock_counter_value_read() > 120000000/10) { if(ethphy_clock_counter_value_read() > 120000000/10) {
ethphy_mode_write(0); ethphy_mode_write(0);
printf("GMII"); printf("GMII");
/* else use MII */ /* else use MII */