altos/test: Compute and show height error tracker in ao_flight_test
[fw/altos] / src / test / ao_flight_test.c
index 8fe3b5df466e6b9ee858bcfd10bf58ebd9878db1..746a681463ab4d2238f3f457c3470b9e15fcc07b 100644 (file)
@@ -305,7 +305,7 @@ struct ao_task {
 #define AO_MS_TO_TICKS(ms)     ((ms) / 10)
 #define AO_SEC_TO_TICKS(s)     ((s) * 100)
 
-#define AO_FLIGHT_TEST
+#define AO_FLIGHT_TEST 1
 
 int    ao_flight_debug;
 
@@ -438,10 +438,6 @@ static uint16_t    pyros_fired;
 static struct ao_mpu6000_sample        ao_ground_mpu6000;
 #endif
 
-#if HAS_ACCEL
-int ao_error_h_sq_avg;
-#endif
-
 void
 ao_test_exit(void)
 {