summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-23 11:32:29 -0700
committerKeith Packard <keithp@keithp.com>2011-07-17 08:14:09 -0700
commit51796e2f1ebce3ee8dc1ac90648381410c1379ee (patch)
treebdf221ce19ac4d529c6852e1197d8edea901eff1 /src/ao.h
parent1332ed55192f22525f31574f60fae4c6579e6f7f (diff)
altos, altosui: Add igniter mode (dual, apogee, main)split-telemetry
This provides for redundant charges for either apogee or main. Signed-off-by: Keith Packard <keithp@keithp.com>
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