altoslib: fix computation of TeleGPS battery voltage
[fw/altos] / src / teleshield-v0.1 / ao_teleshield.c
index fd12ce7a7580e19060427143b4e32fd3ce6b7993..713c49f92e87bfdd020f1a442a8fc3bbb2425fc3 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
@@ -17,7 +18,9 @@
 
 #include "ao.h"
 
+#if 0
 __code uint8_t ao_log_format = AO_LOG_FORMAT_NONE;     /* until we actually log stuff */
+#endif
 
 void
 main(void)
@@ -27,6 +30,7 @@ main(void)
        /* Turn on the LED until the system is stable */
        ao_led_init(LEDS_AVAILABLE);
        ao_led_on(AO_LED_RED);
+       ao_task_init();
        ao_timer_init();
        ao_cmd_init();
        ao_spi_init();
@@ -43,6 +47,7 @@ main(void)
        ao_aes_init();
        ao_radio_cmac_init();
 #endif
+       ao_serial_init();
        ao_ardu_serial_init();
        ao_config_init();
        ao_start_scheduler();