altoslib: fix computation of TeleGPS battery voltage
[fw/altos] / src / telefire-v0.1 / ao_telefire.c
index 96413a63991a5e817bf1fc55a5ef194825e58179..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
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-#include "ao.h"
-#include "ao_pins.h"
+#include <ao.h>
+#include <ao_pad.h>
+#include <ao_74hc497.h>
+#include <ao_radio_cmac_cmd.h>
 
 void
 main(void)
@@ -25,17 +28,20 @@ main(void)
 
        ao_led_init(LEDS_AVAILABLE);
 
+       ao_task_init();
+
        ao_timer_init();
        ao_adc_init();
        ao_beep_init();
        ao_cmd_init();
        ao_spi_init();
+       ao_74hc497_init();
        ao_storage_init();
        ao_usb_init();
        ao_radio_init();
        ao_aes_init();
-       ao_radio_cmac_init();
        ao_pad_init();
+//     ao_radio_cmac_cmd_init();
        ao_config_init();
        ao_start_scheduler();
 }