mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: add missing includes
compilation broken when transitive includes changed
This commit is contained in:
parent
658dd2c578
commit
1566000da5
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue