From: Keith Packard Date: Mon, 24 Aug 2020 00:31:25 +0000 (-0600) Subject: altos/easymotor-v2: ADXL375 is upside-down compared with other boards X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=6740c19d0f141342e377284a013835b2bb133f2f altos/easymotor-v2: ADXL375 is upside-down compared with other boards Clear AO_ADXL375_INVERT to make it work Signed-off-by: Keith Packard --- 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