From 93b895a4f5999fe588f47edf8178e5142c583897 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 27 Feb 2014 17:45:37 +0100 Subject: [PATCH] Issue #628 fixed --- companion/src/eeprominterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/companion/src/eeprominterface.cpp b/companion/src/eeprominterface.cpp index bf1c91cdc..f72721f79 100644 --- a/companion/src/eeprominterface.cpp +++ b/companion/src/eeprominterface.cpp @@ -942,6 +942,7 @@ void ModelData::setDefault(uint8_t id) clear(); used = true; sprintf(name, "MODEL%02d", id+1); + modelId = id+1; } int ModelData::getTrimValue(int phaseIdx, int trimIdx)