diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-12 23:53:55 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-12 23:53:55 -0700 |
commit | f3f25a1cec7d2a034aa544569cfd23bea1a996c5 (patch) | |
tree | 4b39836787404bdd331f9192c5256fc8031f67cf /ao_task.c | |
parent | e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54 (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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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(); |