mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
Sensors: New parameter for baro priority
This allows to give external barometers priority if they are present.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user