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;