altos: Allow products without MS5607
authorKeith Packard <keithp@keithp.com>
Sun, 9 Sep 2012 20:11:57 +0000 (13:11 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 9 Sep 2012 20:11:57 +0000 (13:11 -0700)
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>
src/core/ao_data.h

index 3b66ef5d1a598e65e9369d6d7adcb33f10a08eee..5412febeab42142b4a00677d1fd60ec44675fa9f 100644 (file)
@@ -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