Blimp: set defualt format version

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

View File

@ -856,6 +856,7 @@ void Blimp::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 = micros(); uint32_t before = micros();
// Load all auto-loaded EEPROM variables // Load all auto-loaded EEPROM variables