summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-09-09 13:11:57 -0700
committerKeith Packard <keithp@keithp.com>2012-09-09 13:11:57 -0700
commite053da3e7cb5a4c9ebbffd245cb5d83932183b22 (patch)
treed6fbb2a2315164cbcc84deb9c82cbfc2e56ba290 /src
parentbb5ab29b6744b382bb2f09486a7a6db7d12a3608 (diff)
altos: Allow products without MS5607
The define for a missing MS5607 was wrong, so anything using the fancy multi-sensor data code would break without an MS5607 in place. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/ao_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_data.h b/src/core/ao_data.h
index 3b66ef5d..5412febe 100644
--- a/src/core/ao_data.h
+++ b/src/core/ao_data.h
@@ -28,7 +28,7 @@
#include <ao_ms5607.h>
#define AO_DATA_MS5607 (1 << 1)
#else
-#define AO_DATA_MS5607 (1 << 1)
+#define AO_DATA_MS5607 0
#endif
#if HAS_MPU6000