Rover: remove unused old_top_element param from convert_class

This commit is contained in:
Peter Barker 2024-02-22 08:32:00 +11:00 committed by Peter Barker
parent ee69b709d4
commit f673617b54

View File

@ -878,27 +878,27 @@ void Rover::load_parameters(void)
static const AP_Param::G2ObjectConversion g2_conversions[] { static const AP_Param::G2ObjectConversion g2_conversions[] {
#if AP_AIRSPEED_ENABLED #if AP_AIRSPEED_ENABLED
// PARAMETER_CONVERSION - Added: JAN-2022 // PARAMETER_CONVERSION - Added: JAN-2022
{ &airspeed, airspeed.var_info, 37, 4069 }, { &airspeed, airspeed.var_info, 37 },
#endif #endif
#if AP_AIS_ENABLED #if AP_AIS_ENABLED
// PARAMETER_CONVERSION - Added: MAR-2022 // PARAMETER_CONVERSION - Added: MAR-2022
{ &ais, ais.var_info, 50, 114 }, { &ais, ais.var_info, 50 },
#endif #endif
#if AP_FENCE_ENABLED #if AP_FENCE_ENABLED
// PARAMETER_CONVERSION - Added: Mar-2022 // PARAMETER_CONVERSION - Added: Mar-2022
{ &fence, fence.var_info, 17, 4049 }, { &fence, fence.var_info, 17 },
#endif #endif
#if AP_STATS_ENABLED #if AP_STATS_ENABLED
// PARAMETER_CONVERSION - Added: Jan-2024 for Rover-4.6 // PARAMETER_CONVERSION - Added: Jan-2024 for Rover-4.6
{ &stats, stats.var_info, 1, 4033 }, { &stats, stats.var_info, 1 },
#endif #endif
#if AP_SCRIPTING_ENABLED #if AP_SCRIPTING_ENABLED
// PARAMETER_CONVERSION - Added: Jan-2024 for Rover-4.6 // PARAMETER_CONVERSION - Added: Jan-2024 for Rover-4.6
{ &scripting, scripting.var_info, 41, 105 }, { &scripting, scripting.var_info, 41 },
#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, 39, 4071 }, { &gripper, gripper.var_info, 39 },
#endif #endif
}; };
@ -906,7 +906,7 @@ void Rover::load_parameters(void)
// PARAMETER_CONVERSION - Added: Feb-2024 for Rover-4.6 // PARAMETER_CONVERSION - Added: Feb-2024 for Rover-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
} }