diff options
author | Keith Packard <keithp@keithp.com> | 2011-05-23 11:32:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-05-23 16:13:46 -0600 |
commit | 252b7e63715f48e99d0eb26faf1690c909dd2bb2 (patch) | |
tree | 78120f2d500029d98bf1a583d8ab911b3f667590 /src/ao.h | |
parent | 6c87e4f77e6072ae7e8587d327b2ff80af2c3e6a (diff) |
altos, altosui: Add igniter mode (dual, apogee, main)
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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1229,7 +1229,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; @@ -1242,8 +1242,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 |