altos: TM v2 places the MMA6555 upside down compared to Tmega
[fw/altos] / src / telemetrum-v2.0 / ao_pins.h
index 04cce99e6813e54729e485dcce0629e99eb19ea5..a7236b808eb1f466ecc14494dec144bfe07ec922 100644 (file)
@@ -257,6 +257,7 @@ struct ao_adc {
 #define AO_MMA655X_SPI_INDEX   AO_SPI_1_PB3_PB4_PB5
 #define AO_MMA655X_CS_PORT     (&stm_gpiob)
 #define AO_MMA655X_CS_PIN      9
+#define AO_MMA655X_INVERT      1
 
 #define NUM_CMDS               16