microudp: fix if (
This commit is contained in:
parent
515398634f
commit
4abe8e1d9e
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue