diff --git a/libraries/AP_Baro/AP_Baro_BMP085.cpp b/libraries/AP_Baro/AP_Baro_BMP085.cpp index 0f580b1cd9..cc8866f74a 100644 --- a/libraries/AP_Baro/AP_Baro_BMP085.cpp +++ b/libraries/AP_Baro/AP_Baro_BMP085.cpp @@ -41,7 +41,7 @@ #include // ArduPilot Mega Vector/Matrix math Library #include -#if CONFIG_HAL_BOARD == HAL_BOARD_APM1 +#if CONFIG_HAL_BOARD == HAL_BOARD_APM1 || defined(APM2_BETA_HARDWARE) #include "AP_Baro_BMP085.h" extern const AP_HAL::HAL& hal;