Changeset 9494
- Timestamp:
- 09/03/08 17:10:15
- Files:
-
- usrp2/trunk/firmware/apps/app_common_v2.c (modified) (1 diff)
- usrp2/trunk/firmware/apps/txrx.c (modified) (1 diff)
- usrp2/trunk/firmware/lib/u2_init.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
usrp2/trunk/firmware/apps/app_common_v2.c
r9158 r9494 460 460 { 461 461 link_is_up = speed != 0; 462 hal_set_leds(link_is_up ? 0x 10 : 0x0, 0x10);462 hal_set_leds(link_is_up ? 0x20 : 0x0, 0x20); 463 463 printf("\neth link changed: speed = %d\n", speed); 464 464 } usrp2/trunk/firmware/apps/txrx.c
r9150 r9494 257 257 258 258 putstr("\nTxRx\n"); 259 print_mac_addr(ethernet_mac_addr()); 260 newline(); 259 261 260 262 ethernet_register_link_changed_callback(link_changed_callback); usrp2/trunk/firmware/lib/u2_init.c
r9090 r9494 88 88 hal_enable_ints(); 89 89 90 // flash bothleds to let us know board is alive91 hal_set_leds(0x0, 0x 3);90 // flash all leds to let us know board is alive 91 hal_set_leds(0x0, 0x1f); 92 92 mdelay(100); 93 hal_set_leds(0x 3, 0x3);93 hal_set_leds(0x1f, 0x1f); 94 94 mdelay(100); 95 hal_set_leds(0x0, 0x 3);95 hal_set_leds(0x0, 0x1f); 96 96 mdelay(100); 97 97
