summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-18 15:34:41 -0700
committerKeith Packard <keithp@keithp.com>2012-10-18 15:34:41 -0700
commitceb42f4c96076b01ac05577c9fe461b66e72d30d (patch)
treebc5285228acfc49e8aafab4d7d686111c01f7774
parent5a55501660ebab3b858a48483c5df1cfb4e858e4 (diff)
altos/megametrum: Switch back to using the MS5607
We're planning to ship the MS5607 Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/megametrum-v0.1/ao_pins.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/megametrum-v0.1/ao_pins.h b/src/megametrum-v0.1/ao_pins.h
index 724878b5..e4c8c8fb 100644
--- a/src/megametrum-v0.1/ao_pins.h
+++ b/src/megametrum-v0.1/ao_pins.h
@@ -18,8 +18,6 @@
#ifndef _AO_PINS_H_
#define _AO_PINS_H_
-#define HAS_MS5611 1
-
/* 8MHz High speed external crystal */
#define AO_HSE 8000000
@@ -248,6 +246,7 @@ struct ao_adc {
* 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