Plane: check the parameter table on startup
This commit is contained in:
parent
688f61c087
commit
48577ffbc2
@ -999,6 +999,10 @@ const AP_Param::ConversionInfo conversion_table[] PROGMEM = {
|
||||
|
||||
static void load_parameters(void)
|
||||
{
|
||||
if (!AP_Param::check_var_info()) {
|
||||
cliSerial->printf_P(PSTR("Bad parameter table\n"));
|
||||
hal.scheduler->panic(PSTR("Bad parameter table"));
|
||||
}
|
||||
if (!g.format_version.load() ||
|
||||
g.format_version != Parameters::k_format_version) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user