X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fcore%2Fao_flight.h;h=c7c02ccf69cc4166e0549513d5d1b02971a4c078;hp=b80202f0d7b3e2a6716c91e84f928ec72ee00c77;hb=ee4279613b4757453d0d8f8afc06037c61eeb520;hpb=1887ca3d7d4a0259686f8c1e68d1e47c47b4ab84 diff --git a/src/core/ao_flight.h b/src/core/ao_flight.h index b80202f0..c7c02ccf 100644 --- a/src/core/ao_flight.h +++ b/src/core/ao_flight.h @@ -33,13 +33,18 @@ enum ao_flight_state { ao_flight_drogue = 6, ao_flight_main = 7, ao_flight_landed = 8, - ao_flight_invalid = 9 + ao_flight_invalid = 9, + ao_flight_test = 10 }; extern __pdata enum ao_flight_state ao_flight_state; extern __pdata uint16_t ao_boost_tick; extern __pdata uint16_t ao_motor_number; +#if HAS_IMU +extern __xdata uint8_t ao_sensor_errors; +#endif + extern __pdata uint16_t ao_launch_time; extern __pdata uint8_t ao_flight_force_idle;