From c1e3e3f8c4b838752860f5036a86e6bf43925274 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Fri, 28 Dec 2018 18:05:56 -0700 Subject: [PATCH] AntennaTracker: Reset all storage when format version is incorrect --- AntennaTracker/Parameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/AntennaTracker/Parameters.cpp b/AntennaTracker/Parameters.cpp index f122a7f119..aad3d3b519 100644 --- a/AntennaTracker/Parameters.cpp +++ b/AntennaTracker/Parameters.cpp @@ -392,6 +392,7 @@ void Tracker::load_parameters(void) // erase all parameters hal.console->printf("Firmware change: erasing EEPROM...\n"); + StorageManager::erase(); AP_Param::erase_all(); // save the current format version