projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5153986
)
microudp: fix if (
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Sun, 12 Apr 2015 16:52:35 +0000
(18:52 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Sun, 12 Apr 2015 16:52:35 +0000
(18:52 +0200)
software/libnet/microudp.c
patch
|
blob
|
history
diff --git
a/software/libnet/microudp.c
b/software/libnet/microudp.c
index 2e6bceb235239b4db9a1070310d96921e9d033c6..a96da8e9d7650de25ab875468b86a23772c54682 100644
(file)
--- 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 */