From 182e05ef4b9d47b6d5b2673200be1b14071d9b00 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Aug 2022 08:24:31 +1000 Subject: [PATCH] AP_Baro: fixes for 4.2 build --- libraries/AP_Baro/AP_Baro_ICP101XX.h | 4 ++-- libraries/AP_Baro/AP_Baro_ICP201XX.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Baro/AP_Baro_ICP101XX.h b/libraries/AP_Baro/AP_Baro_ICP101XX.h index ee94db8af7..1b318061e2 100755 --- a/libraries/AP_Baro/AP_Baro_ICP101XX.h +++ b/libraries/AP_Baro/AP_Baro_ICP101XX.h @@ -3,7 +3,7 @@ #include "AP_Baro_Backend.h" #ifndef AP_BARO_ICP101XX_ENABLED -#define AP_BARO_ICP101XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED +#define AP_BARO_ICP101XX_ENABLED 1 #endif #if AP_BARO_ICP101XX_ENABLED @@ -64,4 +64,4 @@ private: uint32_t measure_interval = 0; }; -#endif // AP_BARO_ICP101XX_ENABLED \ No newline at end of file +#endif // AP_BARO_ICP101XX_ENABLED diff --git a/libraries/AP_Baro/AP_Baro_ICP201XX.h b/libraries/AP_Baro/AP_Baro_ICP201XX.h index 5401816234..cd57e15191 100755 --- a/libraries/AP_Baro/AP_Baro_ICP201XX.h +++ b/libraries/AP_Baro/AP_Baro_ICP201XX.h @@ -3,7 +3,7 @@ #include "AP_Baro_Backend.h" #ifndef AP_BARO_ICP201XX_ENABLED -#define AP_BARO_ICP201XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED +#define AP_BARO_ICP201XX_ENABLED 1 #endif #if AP_BARO_ICP201XX_ENABLED @@ -82,4 +82,4 @@ private: } _forced_meas_trigger{FORCED_MEAS_TRIGGER::FORCE_MEAS_STANDBY}; }; -#endif // AP_BARO_ICP201XX_ENABLED \ No newline at end of file +#endif // AP_BARO_ICP201XX_ENABLED