mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: fixes for 4.2 build
This commit is contained in:
parent
2670b1292d
commit
f3f23b8cb6
|
@ -3,7 +3,7 @@
|
||||||
#include "AP_Baro_Backend.h"
|
#include "AP_Baro_Backend.h"
|
||||||
|
|
||||||
#ifndef AP_BARO_ICP101XX_ENABLED
|
#ifndef AP_BARO_ICP101XX_ENABLED
|
||||||
#define AP_BARO_ICP101XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED
|
#define AP_BARO_ICP101XX_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AP_BARO_ICP101XX_ENABLED
|
#if AP_BARO_ICP101XX_ENABLED
|
||||||
|
@ -64,4 +64,4 @@ private:
|
||||||
uint32_t measure_interval = 0;
|
uint32_t measure_interval = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AP_BARO_ICP101XX_ENABLED
|
#endif // AP_BARO_ICP101XX_ENABLED
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "AP_Baro_Backend.h"
|
#include "AP_Baro_Backend.h"
|
||||||
|
|
||||||
#ifndef AP_BARO_ICP201XX_ENABLED
|
#ifndef AP_BARO_ICP201XX_ENABLED
|
||||||
#define AP_BARO_ICP201XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED
|
#define AP_BARO_ICP201XX_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AP_BARO_ICP201XX_ENABLED
|
#if AP_BARO_ICP201XX_ENABLED
|
||||||
|
@ -82,4 +82,4 @@ private:
|
||||||
} _forced_meas_trigger{FORCED_MEAS_TRIGGER::FORCE_MEAS_STANDBY};
|
} _forced_meas_trigger{FORCED_MEAS_TRIGGER::FORCE_MEAS_STANDBY};
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AP_BARO_ICP201XX_ENABLED
|
#endif // AP_BARO_ICP201XX_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue