forked from Archive/PX4-Autopilot
Add force param_find for missing sensor parameters to fix load/save loss of calibration data
This commit is contained in:
parent
e284a28e25
commit
96fc66ff7d
|
@ -747,6 +747,24 @@ Sensors::Sensors() :
|
|||
(void)param_find("CAL_MAG1_ROT");
|
||||
(void)param_find("CAL_MAG2_ROT");
|
||||
(void)param_find("CAL_MAG_SIDES");
|
||||
(void)param_find("CAL_MAG1_XOFF");
|
||||
(void)param_find("CAL_MAG1_XSCALE");
|
||||
(void)param_find("CAL_MAG1_YOFF");
|
||||
(void)param_find("CAL_MAG1_YSCALE");
|
||||
(void)param_find("CAL_MAG1_ZOFF");
|
||||
(void)param_find("CAL_MAG1_ZSCALE");
|
||||
(void)param_find("CAL_GYRO1_XOFF");
|
||||
(void)param_find("CAL_GYRO1_XSCALE");
|
||||
(void)param_find("CAL_GYRO1_YOFF");
|
||||
(void)param_find("CAL_GYRO1_YSCALE");
|
||||
(void)param_find("CAL_GYRO1_ZOFF");
|
||||
(void)param_find("CAL_GYRO1_ZSCALE");
|
||||
(void)param_find("CAL_ACC1_XOFF");
|
||||
(void)param_find("CAL_ACC1_XSCALE");
|
||||
(void)param_find("CAL_ACC1_YOFF");
|
||||
(void)param_find("CAL_ACC1_YSCALE");
|
||||
(void)param_find("CAL_ACC1_ZOFF");
|
||||
(void)param_find("CAL_ACC1_ZSCALE");
|
||||
(void)param_find("SYS_PARAM_VER");
|
||||
(void)param_find("SYS_AUTOSTART");
|
||||
(void)param_find("SYS_AUTOCONFIG");
|
||||
|
|
Loading…
Reference in New Issue