altos/megametrum: Switch back to using the MS5607
authorKeith Packard <keithp@keithp.com>
Thu, 18 Oct 2012 22:34:41 +0000 (15:34 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 18 Oct 2012 22:34:41 +0000 (15:34 -0700)
We're planning to ship the MS5607

Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/ao_pins.h

index 724878b51c6bcfee669cfc7f9d8264f9e1a1a92c..e4c8c8fbc0a4536cd64b2ba86c775a83ff6fdf47 100644 (file)
@@ -18,8 +18,6 @@
 #ifndef _AO_PINS_H_
 #define _AO_PINS_H_
 
 #ifndef _AO_PINS_H_
 #define _AO_PINS_H_
 
-#define HAS_MS5611             1
-
 /* 8MHz High speed external crystal */
 #define AO_HSE                 8000000
 
 /* 8MHz High speed external crystal */
 #define AO_HSE                 8000000
 
@@ -248,6 +246,7 @@ struct ao_adc {
  * Pressure sensor settings
  */
 #define HAS_MS5607             1
  * Pressure sensor settings
  */
 #define HAS_MS5607             1
+#define HAS_MS5611             0
 #define AO_MS5607_PRIVATE_PINS 1
 #define AO_MS5607_CS_PORT      (&stm_gpioc)
 #define AO_MS5607_CS_PIN       4
 #define AO_MS5607_PRIVATE_PINS 1
 #define AO_MS5607_CS_PORT      (&stm_gpioc)
 #define AO_MS5607_CS_PIN       4