AP_Baro: allow for external i2c baro on most boards

only disable on those with HAL_MINIMIZE_FEATURES enabled
This commit is contained in:
Andrew Tridgell 2018-09-05 13:02:30 +10:00
parent a9e29f7556
commit 5de199bc01

View File

@ -50,6 +50,10 @@
#define HAL_BARO_FILTER_DEFAULT 0 // turned off by default
#endif
#if !defined(HAL_PROBE_EXTERNAL_I2C_BAROS) && !HAL_MINIMIZE_FEATURES
#define HAL_PROBE_EXTERNAL_I2C_BAROS
#endif
#ifndef HAL_BARO_PROBE_EXT_DEFAULT
#define HAL_BARO_PROBE_EXT_DEFAULT 0
#endif