From: Keith Packard Date: Sun, 7 Oct 2012 00:21:10 +0000 (-0700) Subject: altos/megametrum: Make MS5607 driver hold SPI bus for whole operation X-Git-Tag: 1.1.9.1^2~10 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=0b28eefe6b32033a0e85731aa38af7e07a8b45f5 altos/megametrum: Make MS5607 driver hold SPI bus for whole operation Signed-off-by: Keith Packard --- 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)