mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduCopter: remove unused old_top_element param from convert_class
This commit is contained in:
parent
f2e83081b2
commit
198f26f348
@ -1354,21 +1354,21 @@ void Copter::load_parameters(void)
|
|||||||
|
|
||||||
// PARAMETER_CONVERSION - Added: Mar-2022
|
// PARAMETER_CONVERSION - Added: Mar-2022
|
||||||
#if AP_FENCE_ENABLED
|
#if AP_FENCE_ENABLED
|
||||||
AP_Param::convert_class(g.k_param_fence_old, &fence, fence.var_info, 0, 0, true);
|
AP_Param::convert_class(g.k_param_fence_old, &fence, fence.var_info, 0, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const AP_Param::G2ObjectConversion g2_conversions[] {
|
static const AP_Param::G2ObjectConversion g2_conversions[] {
|
||||||
#if AP_STATS_ENABLED
|
#if AP_STATS_ENABLED
|
||||||
// PARAMETER_CONVERSION - Added: Jan-2024 for Copter-4.6
|
// PARAMETER_CONVERSION - Added: Jan-2024 for Copter-4.6
|
||||||
{ &stats, stats.var_info, 12, 4044 },
|
{ &stats, stats.var_info, 12 },
|
||||||
#endif
|
#endif
|
||||||
#if AP_SCRIPTING_ENABLED
|
#if AP_SCRIPTING_ENABLED
|
||||||
// PARAMETER_CONVERSION - Added: Jan-2024 for Copter-4.6
|
// PARAMETER_CONVERSION - Added: Jan-2024 for Copter-4.6
|
||||||
{ &scripting, scripting.var_info, 30, 94 },
|
{ &scripting, scripting.var_info, 30 },
|
||||||
#endif
|
#endif
|
||||||
#if AP_GRIPPER_ENABLED
|
#if AP_GRIPPER_ENABLED
|
||||||
// PARAMETER_CONVERSION - Added: Feb-2024 for Copter-4.6
|
// PARAMETER_CONVERSION - Added: Feb-2024 for Copter-4.6
|
||||||
{ &gripper, gripper.var_info, 13, 4045},
|
{ &gripper, gripper.var_info, 13 },
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1376,7 +1376,7 @@ void Copter::load_parameters(void)
|
|||||||
|
|
||||||
// PARAMETER_CONVERSION - Added: Feb-2024 for Copter-4.6
|
// PARAMETER_CONVERSION - Added: Feb-2024 for Copter-4.6
|
||||||
#if HAL_LOGGING_ENABLED
|
#if HAL_LOGGING_ENABLED
|
||||||
AP_Param::convert_class(g.k_param_logger, &logger, logger.var_info, 0, 0, true);
|
AP_Param::convert_class(g.k_param_logger, &logger, logger.var_info, 0, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// setup AP_Param frame type flags
|
// setup AP_Param frame type flags
|
||||||
|
Loading…
Reference in New Issue
Block a user