Sensors: New parameter for baro priority

This allows to give external barometers priority if they are present.
This commit is contained in:
Lorenz Meier
2021-02-13 23:22:19 +01:00
parent fdd9b3ea51
commit 2be482c5ae
+12
View File
@@ -221,3 +221,15 @@ PARAM_DEFINE_INT32(SENS_EXT_I2C_PRB, 1);
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_IMU_MODE, 1);
/**
* Enable internal barometers
*
* For systems with an external barometer, this should be set to false to make sure that the external is used.
*
* @boolean
* @reboot_required true
* @category system
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_INT_BARO_EN, 1);