altos: Use stdbool true/false instead of TRUE/FALSE
[fw/altos] / src / telemega-v0.1 / ao_telemega.c
index fbdab64a8766dbbc8a43d21a8e417da4d93691d1..f8b7ecfad41e2d3e216a6ae8772e42bfa5c7220a 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
@@ -24,6 +25,7 @@
 #include <ao_packet.h>
 #include <ao_companion.h>
 #include <ao_profile.h>
+#include <ao_eeprom.h>
 #if HAS_SAMPLE_PROFILE
 #include <ao_sample_profile.h>
 #endif
@@ -71,6 +73,7 @@ main(void)
        ao_mma655x_init();
 #endif
 
+       ao_eeprom_init();
        ao_storage_init();
        
        ao_flight_init();
@@ -82,7 +85,7 @@ main(void)
        ao_gps_report_mega_init();
        ao_telemetry_init();
        ao_radio_init();
-       ao_packet_slave_init(FALSE);
+       ao_packet_slave_init(false);
        ao_igniter_init();
        ao_companion_init();
        ao_pyro_init();