ArduCopter: make check_var_info void

Given all the callers die anyway, make it void
This commit is contained in:
Peter Barker 2023-01-06 16:12:24 +11:00 committed by Andrew Tridgell
parent c71c93e2b0
commit 18f9702db8

View File

@ -1316,11 +1316,6 @@ const AP_Param::ConversionInfo conversion_table[] = {
void Copter::load_parameters(void)
{
if (!AP_Param::check_var_info()) {
DEV_PRINTF("Bad var table\n");
AP_HAL::panic("Bad var table");
}
hal.util->set_soft_armed(false);
if (!g.format_version.load() ||