Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / src / product / ao_telemetrum.c
index f560740a455eb26484234478246063389c172c39..1266fee74f2f59706120b0541b9fecb23738f375 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
@@ -42,6 +43,8 @@ main(void)
                while (P1_3 == 0)
                        ;
        }
+       ao_task_init();
+
        ao_timer_init();
        ao_adc_init();
        ao_beep_init();
@@ -57,7 +60,7 @@ main(void)
        ao_gps_report_init();
        ao_telemetry_init();
        ao_radio_init();
-       ao_packet_slave_init(TRUE);
+       ao_packet_slave_init(false);
        ao_igniter_init();
 #if HAS_DBG
        ao_dbg_init();