projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3a1e4d
)
altos/easymotor-v2: ADXL375 is upside-down compared with other boards
author
Keith Packard
<keithp@keithp.com>
Mon, 24 Aug 2020 00:31:25 +0000
(18:31 -0600)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/easymotor-v2/ao_pins.h
b/src/easymotor-v2/ao_pins.h
index f8ef7e4de3e78abfce77c73442637e359decff15..8930a46e110916d634da819c930751dd2a8b7430 100644
(file)
--- 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_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
#define HAS_IMU 1
#define USE_ADXL375_IMU 1