altos/easymotor-v2: Add 'through' axis definition
authorKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 04:56:38 +0000 (21:56 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 22 Oct 2020 04:33:59 +0000 (21:33 -0700)
This is used by the ao_flight_test_code

Signed-off-by: Keith Packard <keithp@keithp.com>
src/easymotor-v2/ao_pins.h

index 8d55c387b34902883fe7f53a53ce16a56224ef5a..6ea08e1a13ee7080a57aa368955b97746e18c18b 100644 (file)
@@ -157,6 +157,7 @@ struct ao_adc {
 
 #define AO_ADXL375_AXIS                x
 #define AO_ADXL375_ACROSS_AXIS y
+#define AO_ADXL375_THROUGH_AXIS        z
 #define AO_ADXL375_INVERT      0
 #define HAS_IMU                        1
 #define USE_ADXL375_IMU                1