diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-12 22:52:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-12 22:52:47 -0700 |
commit | 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2 (patch) | |
tree | c376e7e76989b77ae63a5f8a9c60ad592b697b10 /ao_task.c | |
parent | 650a77e209dbb54c8d8fd9824cee430985564973 (diff) |
Add 100Hz timer
Use Timer 1 to generate a 100Hz timer interrupt
Diffstat (limited to 'ao_task.c')
-rw-r--r-- | ao_task.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,5 +181,6 @@ ao_start_scheduler(void) { ao_cur_task_id = AO_NO_TASK; ao_cur_task = NULL; + ao_timer_init(); ao_yield(); } |