projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb5ab29
)
altos: Allow products without MS5607
author
Keith Packard
<keithp@keithp.com>
Sun, 9 Sep 2012 20:11:57 +0000
(13:11 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/core/ao_data.h
b/src/core/ao_data.h
index 3b66ef5d1a598e65e9369d6d7adcb33f10a08eee..5412febeab42142b4a00677d1fd60ec44675fa9f 100644
(file)
--- 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