summaryrefslogtreecommitdiff
path: root/src/detherm/ao_pins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detherm/ao_pins.h')
-rw-r--r--src/detherm/ao_pins.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/detherm/ao_pins.h b/src/detherm/ao_pins.h
index 9b623627..8cd4a9c4 100644
--- a/src/detherm/ao_pins.h
+++ b/src/detherm/ao_pins.h
@@ -72,11 +72,13 @@
/* MS5607 */
#define HAS_MS5607 1
-#define AO_MS5607_CS_PORT (&stm_gpiob)
-#define AO_MS5607_CS_PIN 6
+#define AO_MS5607_CS_PORT (&stm_gpioa)
+#define AO_MS5607_CS_PIN 0
#define AO_MS5607_SPI_INDEX AO_SPI_1_PB3_PB4_PB5
#define AO_MS5607_MISO_PORT (&stm_gpiob)
#define AO_MS5607_MISO_PIN 4
+#define AO_MS5607_PRIVATE_PINS 1
+#define AO_MS5607_SPI_SPEED AO_SPI_SPEED_6MHz
/* Flash */