summaryrefslogtreecommitdiff
path: root/src/core/ao_flight.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-14 01:26:38 -0700
committerKeith Packard <keithp@keithp.com>2012-07-14 01:26:38 -0700
commitd90587535676f9492f0fde6b974353158104ef88 (patch)
treedd429fc66374376711dc6790b96f1ea09c640987 /src/core/ao_flight.h
parent09633cac697e37d770b2b666ab20cab30628484f (diff)
altos: Add arbitrary pyro channel support
Programmed by specifying a conjunction of flight conditions that trigger the igniter to fire. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_flight.h')
-rw-r--r--src/core/ao_flight.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ao_flight.h b/src/core/ao_flight.h
index aa5ab60d..c5c8af46 100644
--- a/src/core/ao_flight.h
+++ b/src/core/ao_flight.h
@@ -37,6 +37,10 @@ enum ao_flight_state {
};
extern __pdata enum ao_flight_state ao_flight_state;
+extern __pdata uint16_t ao_boost_tick;
+#if AO_PYRO_NUM
+extern __pdata uint16_t ao_motor_number;
+#endif
extern __pdata uint16_t ao_launch_time;
extern __pdata uint8_t ao_flight_force_idle;