altos: Use stdbool true/false instead of TRUE/FALSE
[fw/altos] / src / product / ao_teleterra.c
index d696b914e88c845a70d1789424b7e2ec21553281..ae129233d5e2a1c209679d834981b119e1825645 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
@@ -26,12 +27,14 @@ main(void)
        /* Turn on the red LED until the system is stable */
        ao_led_init(AO_LED_RED|AO_LED_GREEN);
        ao_led_on(AO_LED_RED);
+       ao_task_init();
+
        ao_timer_init();
        ao_beep_init();
        ao_cmd_init();
        ao_usb_init();
        ao_serial_init();
-       ao_monitor_init(AO_LED_GREEN, TRUE);
+       ao_monitor_init(AO_LED_GREEN, true);
        ao_radio_init();
        ao_config_init();
        ao_start_scheduler();