altos: Add separate 'ao_launch_tick'. Use in pyro and lockout.
[fw/altos] / src / kernel / ao_flight.h
index 01d21c119538701bccb08de33df65c93180e9ae1..005c7e8459ad0be8a6bf2f909ce64aa7f7cac03b 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -39,6 +40,7 @@ enum ao_flight_state {
 
 extern __pdata enum ao_flight_state    ao_flight_state;
 extern __pdata uint16_t                        ao_boost_tick;
+extern __pdata uint16_t                        ao_launch_tick;
 extern __pdata uint16_t                        ao_motor_number;
 
 #if HAS_IMU || HAS_MMA655X