summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-06 17:21:10 -0700
committerKeith Packard <keithp@keithp.com>2012-10-06 17:21:10 -0700
commit0b28eefe6b32033a0e85731aa38af7e07a8b45f5 (patch)
treef0531382b7fb18cf0ad34c4932033c2e5652ff60
parentc676ad8048d10ad9da22ea3acf19e4e1872103ff (diff)
altos/megametrum: Make MS5607 driver hold SPI bus for whole operation
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/megametrum-v0.1/ao_pins.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/megametrum-v0.1/ao_pins.h b/src/megametrum-v0.1/ao_pins.h
index 724878b5..eba72b4f 100644
--- a/src/megametrum-v0.1/ao_pins.h
+++ b/src/megametrum-v0.1/ao_pins.h
@@ -248,7 +248,7 @@ struct ao_adc {
* Pressure sensor settings
*/
#define HAS_MS5607 1
-#define AO_MS5607_PRIVATE_PINS 1
+#define AO_MS5607_PRIVATE_PINS 0
#define AO_MS5607_CS_PORT (&stm_gpioc)
#define AO_MS5607_CS_PIN 4
#define AO_MS5607_CS_MASK (1 << AO_MS5607_CS)