remove unnecessary param_find for mag and baro

in parameters.cpp

per @dagar: As soon as commander starts it runs the preflight checks which does the param_find.
This commit is contained in:
nathan
2018-05-19 10:38:40 -07:00
committed by Lorenz Meier
parent 5483b59674
commit 59c1d3fc92
-3
View File
@@ -188,9 +188,6 @@ void initialize_parameter_handles(ParameterHandles &parameter_handles)
(void)param_find("SYS_CAL_TDEL");
(void)param_find("SYS_CAL_TMAX");
(void)param_find("SYS_CAL_TMIN");
(void)param_find("SYS_HAS_MAG");
(void)param_find("SYS_HAS_BARO");
}
int update_parameters(const ParameterHandles &parameter_handles, Parameters &parameters)