diff --git a/libraries/AP_Param/AP_Param.cpp b/libraries/AP_Param/AP_Param.cpp index 693899aac1..5fbbac17d9 100644 --- a/libraries/AP_Param/AP_Param.cpp +++ b/libraries/AP_Param/AP_Param.cpp @@ -1908,7 +1908,14 @@ void AP_Param::convert_class(uint16_t param_key, void *object_pointer, info.old_key = param_key; info.type = (ap_var_type)group_info[i].type; info.new_name = nullptr; - info.old_group_element = (uint16_t(group_info[i].idx)<