From: Keith Packard Date: Sun, 9 Sep 2012 20:11:57 +0000 (-0700) Subject: altos: Allow products without MS5607 X-Git-Tag: 1.1~26 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=e053da3e7cb5a4c9ebbffd245cb5d83932183b22 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 --- 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