mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: fixes for 4.2 build
This commit is contained in:
parent
05a4e47536
commit
40e2805ca0
|
@ -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
|
||||
#endif // AP_BARO_ICP101XX_ENABLED
|
||||
|
|
|
@ -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
|
||||
#endif // AP_BARO_ICP201XX_ENABLED
|
||||
|
|
Loading…
Reference in New Issue