From 0b28eefe6b32033a0e85731aa38af7e07a8b45f5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 6 Oct 2012 17:21:10 -0700 Subject: [PATCH] altos/megametrum: Make MS5607 driver hold SPI bus for whole operation Signed-off-by: Keith Packard --- src/megametrum-v0.1/ao_pins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2