mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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)
|
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() ||
|
if (!g.format_version.load() ||
|
||||||
g.format_version != Parameters::k_format_version) {
|
g.format_version != Parameters::k_format_version) {
|
||||||
// erase all parameters
|
// erase all parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user