summaryrefslogtreecommitdiff
path: root/ao_tidongle.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-25 13:16:27 -0700
committerKeith Packard <keithp@keithp.com>2009-04-25 13:16:27 -0700
commit45976af820fc41099928df71ea8304c56eb9fc7c (patch)
tree9c69ee467ebdcd7b120c829244025a4e52b31785 /ao_tidongle.c
parent4a050704ad2c497e9f1b0988334228b0bbc4c170 (diff)
Make LED usage depend on target device
Diffstat (limited to 'ao_tidongle.c')
-rw-r--r--ao_tidongle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ao_tidongle.c b/ao_tidongle.c
index ea21e127..4ef86971 100644
--- a/ao_tidongle.c
+++ b/ao_tidongle.c
@@ -27,16 +27,17 @@ main(void)
;
/* Turn on the LED until the system is stable */
- ao_led_init();
+ ao_led_init(AO_LED_RED);
ao_led_on(AO_LED_RED);
ao_timer_init();
ao_cmd_init();
ao_usb_init();
- ao_monitor_init();
+ ao_monitor_init(AO_LED_RED);
ao_radio_init();
ao_dbg_init();
/* Bring up the USB link */
- ao_led_on(AO_LED_GREEN);
+ P1DIR |= 1;
+ P1 |= 1;
ao_start_scheduler();
}