altos/test: Clean up easy motor test jig
authorKeith Packard <keithp@keithp.com>
Mon, 12 Oct 2020 23:55:23 +0000 (16:55 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 22 Oct 2020 04:33:59 +0000 (21:33 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/test/.gitignore
src/test/ao_flight_test.c

index e3af02f655b8479f4a6591040febe3dfe833d881..a7cfad72438637105075f70a6b7d9f5440d98e16 100644 (file)
@@ -17,6 +17,7 @@ ao_flight_test_mm
 ao_flight_test_noisy_accel
 ao_flight_test_metrum
 ao_flight_test_mini
+ao_flight_test_motor
 ao_micropeak_test
 ao_aes_test
 ao_lisp_test
index 804f1f94bcc6beba2a029ec8398ba1e27f036fde..d12652b49617126a5d9177877f800c5886f84b4a 100644 (file)
@@ -19,6 +19,7 @@
 #define _GNU_SOURCE
 
 #include <stdint.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
@@ -58,6 +59,7 @@ int ao_gps_new;
 #define HAS_MMA655X            1
 #define HAS_HMC5883            1
 #define HAS_BEEP               1
+#define HAS_BARO               1
 #define AO_CONFIG_MAX_SIZE     1024
 #define AO_MMA655X_INVERT      0
 
@@ -75,6 +77,7 @@ struct ao_adc {
 #define HAS_MMA655X            1
 #define AO_MMA655X_INVERT      0
 #define HAS_BEEP               1
+#define HAS_BARO               1
 #define AO_CONFIG_MAX_SIZE     1024
 
 struct ao_adc {
@@ -116,6 +119,7 @@ struct ao_adc {
 #define HAS_ACCEL 1
 #define HAS_ACCEL_REF 0
 #endif
+#define HAS_BARO               1
 
 #endif