mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
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:
@@ -188,9 +188,6 @@ void initialize_parameter_handles(ParameterHandles ¶meter_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 ¶meter_handles, Parameters ¶meters)
|
||||
|
||||
Reference in New Issue
Block a user