From b540f6f5b034f33b8e1d1c3b91e2403a56479caa Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 2 May 2016 16:19:39 -0700 Subject: 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 --- src/easymega-v1.0/ao_pins.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/easymega-v1.0/ao_pins.h') 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 -- cgit v1.2.3