Copter: set defualt format version

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

View File

@ -1263,6 +1263,7 @@ void Copter::load_parameters(void)
g.format_version.set_and_save(Parameters::k_format_version);
DEV_PRINTF("done.\n");
}
g.format_version.set_default(Parameters::k_format_version);
uint32_t before = micros();
// Load all auto-loaded EEPROM variables