From e053da3e7cb5a4c9ebbffd245cb5d83932183b22 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 9 Sep 2012 13:11:57 -0700 Subject: [PATCH] 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 --- src/core/ao_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #define AO_DATA_MS5607 (1 << 1) #else -#define AO_DATA_MS5607 (1 << 1) +#define AO_DATA_MS5607 0 #endif #if HAS_MPU6000 -- 2.30.2