Tracker: set defualt format version

This commit is contained in:
Iampete1 2022-07-05 02:56:59 +01:00 committed by Andrew Tridgell
parent 7ee330d12d
commit 34a5a357a7
1 changed files with 1 additions and 0 deletions

View File

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