From ea49f311a118176c303a04a47a6dfc4fbfab36d0 Mon Sep 17 00:00:00 2001 From: Allen Ibara Date: Wed, 24 Jun 2009 19:56:19 +0000 Subject: [PATCH] Add READYBOARD_NO_BARO optional define to cause estimator.h not to include baro header --- sw/airborne/estimator.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sw/airborne/estimator.h b/sw/airborne/estimator.h index 126e007667..f4bb17e109 100644 --- a/sw/airborne/estimator.h +++ b/sw/airborne/estimator.h @@ -32,7 +32,9 @@ #include #include "std.h" +#ifndef READYBOARD_NO_BARO #include "baro_MS5534A.h" +#endif /* position in meters */ extern float estimator_x;