ArduPlane: make check_var_info void
Given all the callers die anyway, make it void
This commit is contained in:
parent
18f9702db8
commit
bef10c21bf
@ -1350,10 +1350,6 @@ static const RCConversionInfo rc_option_conversion[] = {
|
|||||||
|
|
||||||
void Plane::load_parameters(void)
|
void Plane::load_parameters(void)
|
||||||
{
|
{
|
||||||
if (!AP_Param::check_var_info()) {
|
|
||||||
hal.console->printf("Bad parameter table\n");
|
|
||||||
AP_HAL::panic("Bad parameter 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) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user