altoslib: fix computation of TeleGPS battery voltage
[fw/altos] / src / telefire-v0.1 / ao_telefire.c
index 210be08ba7ef6e883f4a34ff4d0f73846804ada7..706a23a6b9cef544038d95afc16fb8bb72a8c4b4 100644 (file)
@@ -3,7 +3,8 @@
  *
  * 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; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -18,6 +19,7 @@
 #include <ao.h>
 #include <ao_pad.h>
 #include <ao_74hc497.h>
+#include <ao_radio_cmac_cmd.h>
 
 void
 main(void)
@@ -26,6 +28,8 @@ main(void)
 
        ao_led_init(LEDS_AVAILABLE);
 
+       ao_task_init();
+
        ao_timer_init();
        ao_adc_init();
        ao_beep_init();
@@ -37,6 +41,7 @@ main(void)
        ao_radio_init();
        ao_aes_init();
        ao_pad_init();
+//     ao_radio_cmac_cmd_init();
        ao_config_init();
        ao_start_scheduler();
 }