Plane: set defualt format version

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

View File

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