summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/usrp2p/ethernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/microblaze/usrp2p/ethernet.c')
-rw-r--r--firmware/microblaze/usrp2p/ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/microblaze/usrp2p/ethernet.c b/firmware/microblaze/usrp2p/ethernet.c
index 80c303153..660f28934 100644
--- a/firmware/microblaze/usrp2p/ethernet.c
+++ b/firmware/microblaze/usrp2p/ethernet.c
@@ -70,7 +70,7 @@ ed_link_up(int speed)
ed_set_mac_speed(speed);
//turn on link LED for USRP2P
- hal_set_leds((1 << 0), (1 << 0));
+ hal_set_leds(LED_RJ45, LED_RJ45);
if (ed_callback) // fire link changed callback
@@ -83,7 +83,7 @@ ed_link_down(void)
// putstr("ed_link_down\n");
//turn off link LED for USRP2P
- hal_set_leds(0, (1 << 0));
+ hal_set_leds(0, LED_RJ45);
if (ed_callback) // fire link changed callback
(*ed_callback)(0);