Browse Source

Load all GCS-required params

sbg
Lorenz Meier 10 years ago
parent
commit
8e4c78cd2d
  1. 16
      src/modules/sensors/sensors.cpp

16
src/modules/sensors/sensors.cpp

@ -624,13 +624,15 @@ Sensors::Sensors() :
// These are parameters for which QGroundControl always expects to be returned in a list request. // These are parameters for which QGroundControl always expects to be returned in a list request.
// We do a param_find here to force them into the list. // We do a param_find here to force them into the list.
param_find("RC_CHAN_CNT"); (void)param_find("RC_CHAN_CNT");
param_find("CAL_MAG0_ID"); (void)param_find("RC_TH_USER");
param_find("CAL_MAG1_ID"); (void)param_find("CAL_MAG0_ID");
param_find("CAL_MAG2_ID"); (void)param_find("CAL_MAG1_ID");
param_find("CAL_MAG0_ROT"); (void)param_find("CAL_MAG2_ID");
param_find("CAL_MAG1_ROT"); (void)param_find("CAL_MAG0_ROT");
param_find("CAL_MAG2_ROT"); (void)param_find("CAL_MAG1_ROT");
(void)param_find("CAL_MAG2_ROT");
(void)param_find("SYS_PARAM_VER");
/* fetch initial parameter values */ /* fetch initial parameter values */
parameters_update(); parameters_update();

Loading…
Cancel
Save