microudp: fix if (
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 12 Apr 2015 16:52:35 +0000 (18:52 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 12 Apr 2015 16:52:35 +0000 (18:52 +0200)
software/libnet/microudp.c

index 2e6bceb235239b4db9a1070310d96921e9d033c6..a96da8e9d7650de25ab875468b86a23772c54682 100644 (file)
@@ -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 */