summaryrefslogtreecommitdiff
path: root/ao_task.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-12 23:53:55 -0700
committerKeith Packard <keithp@keithp.com>2009-04-12 23:53:55 -0700
commitf3f25a1cec7d2a034aa544569cfd23bea1a996c5 (patch)
tree4b39836787404bdd331f9192c5256fc8031f67cf /ao_task.c
parente14f07bfdb8824fc7ed6df1129c66ee39ffd6d54 (diff)
Add beep/led support.
Support our P2_0 connected buzzer, and formalize LED output support. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao_task.c')
-rw-r--r--ao_task.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ao_task.c b/ao_task.c
index 0af5043c..a56fe29f 100644
--- a/ao_task.c
+++ b/ao_task.c
@@ -179,6 +179,11 @@ ao_wakeup(__xdata void *wchan)
void
ao_start_scheduler(void)
{
+ ao_timer_init();
+ ao_adc_init();
+ ao_beep_init();
+ ao_led_init();
+
ao_cur_task_id = AO_NO_TASK;
ao_cur_task = NULL;
ao_yield();