From 4abe8e1d9edfb88f1073126e29975b89412b9cbf Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 12 Apr 2015 18:52:35 +0200 Subject: [PATCH] microudp: fix if ( --- software/libnet/microudp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/libnet/microudp.c b/software/libnet/microudp.c index 2e6bceb23..a96da8e9d 100644 --- a/software/libnet/microudp.c +++ b/software/libnet/microudp.c @@ -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 */