Issue #813 - Internal conversions part done

This commit is contained in:
bsongis
2014-03-20 12:28:57 +01:00
parent d2185d1e17
commit 5036c64a7b
+5
View File
@@ -723,6 +723,11 @@ void ConvertModel_215_to_216(ModelData &model)
#endif
}
g_model.thrTraceSrc = oldModel.thrTraceSrc;
#if defined(PCBTARANIS)
// S3 added
if (g_model.thrTraceSrc >= 3)
g_model.thrTraceSrc += 1;
#endif
g_model.switchWarningStates = oldModel.switchWarningStates >> 1;
g_model.nSwToWarn = (oldModel.switchWarningStates & 0x01) ? 0xFF : 0;
for (uint8_t i=0; i<5; i++) {