mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 10:43:34 +08:00
system_params: add SYS_HAS_MAG and SYS_HAS_BARO params
This allows to use PX4 on systems that do not have a mag or a baro, such as the Omnibus F4 SD.
This commit is contained in:
@@ -188,6 +188,9 @@ 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