sensors: prefix mag config param SENS instead of CAL (#20723)

* sensors: prefix mag config param SENS instead of CAL
* mag sides: keep CAL_MAG_SIDES required by QGC
This commit is contained in:
Mathieu Bresciani
2023-01-12 09:42:36 -05:00
committed by GitHub
parent 635daeed8a
commit 767fcb2774
4 changed files with 33 additions and 8 deletions
+10 -1
View File
@@ -53,6 +53,15 @@
* @value 63 Six side calibration
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_MAG_SIDES, 63);
/**
* For legacy QGC support only
*
* Use SENS_MAG_SIDES instead
*
* @group Sensors
*/
PARAM_DEFINE_INT32(CAL_MAG_SIDES, 63);
/**
@@ -76,7 +85,7 @@ PARAM_DEFINE_INT32(CAL_MAG_COMP_TYP, 0);
* @boolean
* @group Sensors
*/
PARAM_DEFINE_INT32(CAL_MAG_ROT_AUTO, 1);
PARAM_DEFINE_INT32(SENS_MAG_AUTOROT, 1);
/**
* Magnetometer max rate.