From 068c34da796e5f8d40386c770778f6fb0bb42cbb Mon Sep 17 00:00:00 2001 From: J Blackman Date: Fri, 30 Dec 2022 00:52:59 +1100 Subject: [PATCH] FIX: Barometers tend to be on boards (#12105) - this removes the inclusion of all the barometers, expectation is the specific baro will be in the config file. - users can still add any baro using the custom defines (to work out what needs updating for the config file) --- src/main/target/common_post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 23461e1a8..1a4d285ee 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -44,7 +44,7 @@ #define USE_MAG_AK8975 #endif -#if defined(USE_BARO) && !defined(USE_FAKE_BARO) +#if defined(USE_BARO) && !defined(USE_FAKE_BARO) && !defined(CLOUD_BUILD) #define USE_BARO_MS5611 #define USE_BARO_SPI_MS5611 #define USE_BARO_BMP280 -- 2.11.4.GIT