mirror of https://github.com/ArduPilot/ardupilot
Rover: make check_var_info void
Given all the callers die anyway, make it void
This commit is contained in:
parent
d3bbc94af9
commit
33599bd79c
|
@ -803,11 +803,6 @@ const AP_Param::ConversionInfo conversion_table[] = {
|
|||
|
||||
void Rover::load_parameters(void)
|
||||
{
|
||||
if (!AP_Param::check_var_info()) {
|
||||
hal.console->printf("Bad var table\n");
|
||||
AP_HAL::panic("Bad var table");
|
||||
}
|
||||
|
||||
if (!g.format_version.load() ||
|
||||
g.format_version != Parameters::k_format_version) {
|
||||
// erase all parameters
|
||||
|
|
Loading…
Reference in New Issue