summaryrefslogtreecommitdiff
path: root/ao_task.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-12 22:52:47 -0700
committerKeith Packard <keithp@keithp.com>2009-04-12 22:52:47 -0700
commit823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2 (patch)
treec376e7e76989b77ae63a5f8a9c60ad592b697b10 /ao_task.c
parent650a77e209dbb54c8d8fd9824cee430985564973 (diff)
Add 100Hz timer
Use Timer 1 to generate a 100Hz timer interrupt
Diffstat (limited to 'ao_task.c')
-rw-r--r--ao_task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ao_task.c b/ao_task.c
index 0af5043c..0e976d7c 100644
--- a/ao_task.c
+++ b/ao_task.c
@@ -181,5 +181,6 @@ ao_start_scheduler(void)
{
ao_cur_task_id = AO_NO_TASK;
ao_cur_task = NULL;
+ ao_timer_init();
ao_yield();
}