Add 100Hz timer
[fw/altos] / ao_task.c
index a0c39ec9b70bbd970c2dacf91d27cf9edd995a39..0e976d7c4247e5e341c40684c2d62a8e2c59018c 100644 (file)
--- a/ao_task.c
+++ b/ao_task.c
@@ -3,8 +3,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation; version 2 of the License.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -182,5 +181,6 @@ ao_start_scheduler(void)
 {
        ao_cur_task_id = AO_NO_TASK;
        ao_cur_task = NULL;
+       ao_timer_init();
        ao_yield();
 }