altos/easymotor-v2: ADXL375 is upside-down compared with other boards
authorKeith Packard <keithp@keithp.com>
Mon, 24 Aug 2020 00:31:25 +0000 (18:31 -0600)
committerKeith Packard <keithp@keithp.com>
Mon, 24 Aug 2020 00:31:25 +0000 (18:31 -0600)
Clear AO_ADXL375_INVERT to make it work

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

index f8ef7e4de3e78abfce77c73442637e359decff15..8930a46e110916d634da819c930751dd2a8b7430 100644 (file)
@@ -156,7 +156,7 @@ struct ao_adc {
 
 #define AO_ADXL375_AXIS                x
 #define AO_ADXL375_ACROSS_AXIS y
-#define AO_ADXL375_INVERT      1
+#define AO_ADXL375_INVERT      0
 #define HAS_IMU                        1
 #define USE_ADXL375_IMU                1