summaryrefslogtreecommitdiff
path: root/src/easymega-v1.0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-05-02 16:19:39 -0700
committerKeith Packard <keithp@keithp.com>2016-05-02 16:19:39 -0700
commitb540f6f5b034f33b8e1d1c3b91e2403a56479caa (patch)
tree3a46c6fbacdf87631ce429d1ef137ba0ac0ca519 /src/easymega-v1.0
parent0b0b359cbce6b818257b44b2a6aee0edcbaee40d (diff)
altos: Make sure AO_MMA655X_INVERT is declared where needed
Add #define AO_MMA655X_INVERT 0 to existing products which didn't declare it at all. This will make sure the value is set correctly for each new board. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/easymega-v1.0')
-rw-r--r--src/easymega-v1.0/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/easymega-v1.0/ao_pins.h b/src/easymega-v1.0/ao_pins.h
index a5e55638..773e58d9 100644
--- a/src/easymega-v1.0/ao_pins.h
+++ b/src/easymega-v1.0/ao_pins.h
@@ -321,6 +321,7 @@ struct ao_adc {
*/
#define HAS_MMA655X 1
+#define AO_MMA655X_INVERT 0
#define AO_MMA655X_SPI_INDEX AO_SPI_1_PB3_PB4_PB5
#define AO_MMA655X_CS_PORT (&stm_gpioc)
#define AO_MMA655X_CS_PIN 12