Rover: check param table on startup
This commit is contained in:
parent
415db390af
commit
7a2a431fc6
@ -513,6 +513,11 @@ const AP_Param::ConversionInfo conversion_table[] PROGMEM = {
|
|||||||
|
|
||||||
static void load_parameters(void)
|
static void load_parameters(void)
|
||||||
{
|
{
|
||||||
|
if (!AP_Param::check_var_info()) {
|
||||||
|
cliSerial->printf_P(PSTR("Bad var table\n"));
|
||||||
|
hal.scheduler->panic(PSTR("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) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user