AP_Baro: fixes for 4.2 build

This commit is contained in:
Andrew Tridgell 2022-08-02 08:24:31 +10:00 committed by Randy Mackay
parent 2670b1292d
commit f3f23b8cb6
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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