From 48c8efaae7ce8de8bb0727009436813cd4b560e7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 23 Aug 2020 18:31:25 -0600 Subject: [PATCH] altos/easymotor-v2: ADXL375 is upside-down compared with other boards Clear AO_ADXL375_INVERT to make it work Signed-off-by: Keith Packard --- src/easymotor-v2/ao_pins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/easymotor-v2/ao_pins.h b/src/easymotor-v2/ao_pins.h index f8ef7e4d..8930a46e 100644 --- a/src/easymotor-v2/ao_pins.h +++ b/src/easymotor-v2/ao_pins.h @@ -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 -- 2.30.2