Skip to content

Commit

Permalink
microudp: fix if (
Browse files Browse the repository at this point in the history
enjoy-digital committed Apr 12, 2015
1 parent 5153986 commit 4abe8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/libnet/microudp.c
Original file line number Diff line number Diff line change
@@ -453,7 +453,7 @@ void ethmode(void)

printf("Ethernet phy mode: ");
/* 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);
printf("GMII");
/* else use MII */

0 comments on commit 4abe8e1

Please sign in to comment.