telegps-v1.0: Provide one log and append to it
[fw/altos] / src / kernel / ao_config.h
index 2b5cd352300fed22d9c89ceb7fb0b4dbdeb73aee..0be3e14d1ee0b8a1fc7ca7447d1dbd89169e0371 100644 (file)
 #define USE_EEPROM_CONFIG 0
 #endif
 
+#ifndef FLIGHT_LOG_APPEND
+#define FLIGHT_LOG_APPEND 0
+#endif
+
 #if USE_STORAGE_CONFIG
 
 #include <ao_storage.h>
@@ -53,7 +57,7 @@
 #endif
 
 #define AO_CONFIG_MAJOR        1
-#define AO_CONFIG_MINOR        18
+#define AO_CONFIG_MINOR        20
 
 #define AO_AES_LEN 16
 
@@ -102,6 +106,12 @@ struct ao_config {
 #if AO_PYRO_NUM
        uint16_t        pyro_time;              /* minor version 18 */
 #endif
+#if HAS_APRS
+       uint8_t         aprs_ssid;              /* minor version 19 */
+#endif
+#if HAS_RADIO_RATE
+       uint8_t         radio_rate;             /* minor version 20 */
+#endif
 };
 
 #define AO_IGNITE_MODE_DUAL            0
@@ -140,6 +150,9 @@ ao_config_put(void);
 void
 ao_config_set_radio(void);
 
+void
+ao_config_log_fix_append(void);
+
 void
 ao_config_init(void);