projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make LED usage depend on target device
[fw/altos]
/
ao_teledongle.c
diff --git
a/ao_teledongle.c
b/ao_teledongle.c
index a855d768202bc7966a6e80d84306a269807be410..7473d81074b8fac19bdeb329db9812d9b53a502d 100644
(file)
--- a/
ao_teledongle.c
+++ b/
ao_teledongle.c
@@
-27,12
+27,12
@@
main(void)
;
/* Turn on the LED until the system is stable */
;
/* Turn on the LED until the system is stable */
- ao_led_init();
+ ao_led_init(
AO_LED_RED|AO_LED_GREEN
);
ao_led_on(AO_LED_RED);
ao_timer_init();
ao_cmd_init();
ao_usb_init();
ao_led_on(AO_LED_RED);
ao_timer_init();
ao_cmd_init();
ao_usb_init();
- ao_monitor_init();
+ ao_monitor_init(
AO_LED_GREEN
);
ao_radio_init();
ao_dbg_init();
ao_start_scheduler();
ao_radio_init();
ao_dbg_init();
ao_start_scheduler();