Sub: set defualt format version

This commit is contained in:
Iampete1 2022-07-05 02:57:34 +01:00 committed by Andrew Tridgell
parent 7c505ad0ff
commit 8960fce4dc
1 changed files with 1 additions and 0 deletions

View File

@ -699,6 +699,7 @@ void Sub::load_parameters()
g.format_version.set_and_save(Parameters::k_format_version);
hal.console->println("done.");
}
g.format_version.set_default(Parameters::k_format_version);
uint32_t before = AP_HAL::micros();
// Load all auto-loaded EEPROM variables