mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Baro: allow for external i2c baro on most boards
only disable on those with HAL_MINIMIZE_FEATURES enabled
This commit is contained in:
parent
a9e29f7556
commit
5de199bc01
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user