altos/megametrum: Make MS5607 driver hold SPI bus for whole operation
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2012 00:21:10 +0000 (17:21 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2012 00:21:10 +0000 (17:21 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/ao_pins.h

index 724878b51c6bcfee669cfc7f9d8264f9e1a1a92c..eba72b4f7c9a86f25a26783d5a9c42b088d7fed8 100644 (file)
@@ -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)