From ee69b709d4b02454df85beb630ee7d8d355c224d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 22 Feb 2024 08:32:00 +1100 Subject: [PATCH] Blimp: remove unused old_top_element param from convert_class --- Blimp/Parameters.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Blimp/Parameters.cpp b/Blimp/Parameters.cpp index b13b103af4..f9f11e44f0 100644 --- a/Blimp/Parameters.cpp +++ b/Blimp/Parameters.cpp @@ -845,18 +845,18 @@ void Blimp::load_parameters(void) static const AP_Param::G2ObjectConversion g2_conversions[] { #if AP_STATS_ENABLED // PARAMETER_CONVERSION - Added: Jan-2024 for Copter-4.6 - { &stats, stats.var_info, 12, 4044 }, + { &stats, stats.var_info, 12 }, #endif #if AP_SCRIPTING_ENABLED // PARAMETER_CONVERSION - Added: Jan-2024 for Copter-4.6 - { &scripting, scripting.var_info, 30, 94 }, + { &scripting, scripting.var_info, 30 }, #endif }; AP_Param::convert_g2_objects(&g2, g2_conversions, ARRAY_SIZE(g2_conversions)); // PARAMETER_CONVERSION - Added: Feb-2024 #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 // setup AP_Param frame type flags