commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8273 - usrp2/trunk/firmware/apps


From: matt
Subject: [Commit-gnuradio] r8273 - usrp2/trunk/firmware/apps
Date: Thu, 24 Apr 2008 16:18:27 -0600 (MDT)

Author: matt
Date: 2008-04-24 16:18:27 -0600 (Thu, 24 Apr 2008)
New Revision: 8273

Modified:
   usrp2/trunk/firmware/apps/app_common.c
Log:
light the ethernet LED to show when we have a link


Modified: usrp2/trunk/firmware/apps/app_common.c
===================================================================
--- usrp2/trunk/firmware/apps/app_common.c      2008-04-24 20:44:17 UTC (rev 
8272)
+++ usrp2/trunk/firmware/apps/app_common.c      2008-04-24 22:18:27 UTC (rev 
8273)
@@ -185,7 +185,7 @@
 link_changed_callback(int speed)
 {
   link_is_up = speed != 0;
-  // hal_set_leds(link_is_up ? 0x2 : 0x0, 0x2);
+  hal_set_leds(link_is_up ? 0x10 : 0x0, 0x10);
   printf("\neth link changed: speed = %d\n", speed);
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]