AP_Baro: add missing includes

compilation broken when transitive includes changed
This commit is contained in:
Peter Barker 2022-10-26 21:41:33 +11:00 committed by Peter Barker
parent 658dd2c578
commit 1566000da5
8 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#if AP_BARO_BMP280_ENABLED #if AP_BARO_BMP280_ENABLED
#include <AP_Math/definitions.h>
#include <utility> #include <utility>
extern const AP_HAL::HAL &hal; extern const AP_HAL::HAL &hal;

View File

@ -17,6 +17,7 @@
#if AP_BARO_BMP388_ENABLED #if AP_BARO_BMP388_ENABLED
#include <utility> #include <utility>
#include <AP_Math/AP_Math.h>
extern const AP_HAL::HAL &hal; extern const AP_HAL::HAL &hal;

View File

@ -1,6 +1,7 @@
#include "AP_Baro_Backend.h" #include "AP_Baro_Backend.h"
#include <stdio.h> #include <stdio.h>
#include <AP_Math/AP_Math.h>
extern const AP_HAL::HAL& hal; extern const AP_HAL::HAL& hal;

View File

@ -22,6 +22,7 @@
#include <utility> #include <utility>
#include <stdio.h> #include <stdio.h>
#include <AP_Math/definitions.h>
extern const AP_HAL::HAL &hal; extern const AP_HAL::HAL &hal;

View File

@ -22,6 +22,7 @@
#include <utility> #include <utility>
#include <stdio.h> #include <stdio.h>
#include <AP_Math/definitions.h>
extern const AP_HAL::HAL &hal; extern const AP_HAL::HAL &hal;

View File

@ -1,6 +1,7 @@
#include "AP_Baro.h" #include "AP_Baro.h"
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
#include <AP_Math/definitions.h>
extern const AP_HAL::HAL& hal; extern const AP_HAL::HAL& hal;

View File

@ -7,6 +7,7 @@
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
#include <AP_HAL/Device.h> #include <AP_HAL/Device.h>
#include <AP_HAL/utility/OwnPtr.h> #include <AP_HAL/utility/OwnPtr.h>
#include <AP_Math/AP_Math.h>
#define HAL_BARO_LPS25H_I2C_BUS 0 #define HAL_BARO_LPS25H_I2C_BUS 0

View File

@ -17,6 +17,7 @@
#if AP_BARO_SPL06_ENABLED #if AP_BARO_SPL06_ENABLED
#include <utility> #include <utility>
#include <AP_Math/definitions.h>
extern const AP_HAL::HAL &hal; extern const AP_HAL::HAL &hal;