From 34a5a357a74f28bcc07221258d6cfc80f117c8d9 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 5 Jul 2022 02:56:59 +0100 Subject: [PATCH] Tracker: set defualt format version --- AntennaTracker/Parameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/AntennaTracker/Parameters.cpp b/AntennaTracker/Parameters.cpp index a7e728cbcb..3ac0378fd0 100644 --- a/AntennaTracker/Parameters.cpp +++ b/AntennaTracker/Parameters.cpp @@ -549,6 +549,7 @@ void Tracker::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 = AP_HAL::micros(); // Load all auto-loaded EEPROM variables