summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ao.h b/src/ao.h
index e52a2198..d3e588b6 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -1357,7 +1357,7 @@ ao_igniter_init(void);
*/
#define AO_CONFIG_MAJOR 1
-#define AO_CONFIG_MINOR 4
+#define AO_CONFIG_MINOR 5
struct ao_config {
uint8_t major;
@@ -1370,8 +1370,13 @@ struct ao_config {
int16_t accel_minus_g; /* minor version 2 */
uint32_t radio_cal; /* minor version 3 */
uint32_t flight_log_max; /* minor version 4 */
+ uint8_t ignite_mode; /* minor version 5 */
};
+#define AO_IGNITE_MODE_DUAL 0
+#define AO_IGNITE_MODE_APOGEE 1
+#define AO_IGNITE_MODE_MAIN 2
+
extern __xdata struct ao_config ao_config;
#define AO_CONFIG_MAX_SIZE 128