From 7c505ad0ffade299a86a17fecda1d5e6a5e9b1ed Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 5 Jul 2022 02:57:23 +0100 Subject: [PATCH] Plane: set defualt format version --- ArduPlane/Parameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduPlane/Parameters.cpp b/ArduPlane/Parameters.cpp index 4458f57ef9..584c0354a0 100644 --- a/ArduPlane/Parameters.cpp +++ b/ArduPlane/Parameters.cpp @@ -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