mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 05:33:34 +08:00
accel/gyro/mag calibration set default priority uninitialized
- this allows the default priority to be set differently for internal/external sensors - accel and gyro initialize default priority like mag in preparation for fully supporting external sensors - fixes #15652
This commit is contained in:
@@ -42,6 +42,7 @@ PARAM_DEFINE_INT32(CAL_ACC1_ID, 0);
|
||||
/**
|
||||
* Accelerometer 1 priority.
|
||||
*
|
||||
* @value -1 Uninitialized
|
||||
* @value 0 Disabled
|
||||
* @value 1 Min
|
||||
* @value 25 Low
|
||||
@@ -52,7 +53,7 @@ PARAM_DEFINE_INT32(CAL_ACC1_ID, 0);
|
||||
* @category system
|
||||
* @group Sensor Calibration
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CAL_ACC1_PRIO, 50);
|
||||
PARAM_DEFINE_INT32(CAL_ACC1_PRIO, -1);
|
||||
|
||||
/**
|
||||
* Accelerometer X-axis offset
|
||||
|
||||
Reference in New Issue
Block a user