From 18351186db2e19bbd320929b8ffaa9eb347dd9cf Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 5 Jul 2022 02:58:18 +0100 Subject: [PATCH] AP_Periph: set defualt format version --- Tools/AP_Periph/Parameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/AP_Periph/Parameters.cpp b/Tools/AP_Periph/Parameters.cpp index eadafceee7..394a77a6fe 100644 --- a/Tools/AP_Periph/Parameters.cpp +++ b/Tools/AP_Periph/Parameters.cpp @@ -472,6 +472,7 @@ void AP_Periph_FW::load_parameters(void) // save the current format version g.format_version.set_and_save(Parameters::k_format_version); } + g.format_version.set_default(Parameters::k_format_version); // Load all auto-loaded EEPROM variables AP_Param::load_all();