From: Florent Kermarrec Date: Sun, 12 Apr 2015 16:52:35 +0000 (+0200) Subject: microudp: fix if ( X-Git-Tag: 24jan2021_ls180~2379 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4abe8e1d9edfb88f1073126e29975b89412b9cbf;p=litex.git microudp: fix if ( --- diff --git a/software/libnet/microudp.c b/software/libnet/microudp.c index 2e6bceb2..a96da8e9 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 */