Issue #813 - Internal conversions part done
This commit is contained in:
@@ -723,6 +723,11 @@ void ConvertModel_215_to_216(ModelData &model)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
g_model.thrTraceSrc = oldModel.thrTraceSrc;
|
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.switchWarningStates = oldModel.switchWarningStates >> 1;
|
||||||
g_model.nSwToWarn = (oldModel.switchWarningStates & 0x01) ? 0xFF : 0;
|
g_model.nSwToWarn = (oldModel.switchWarningStates & 0x01) ? 0xFF : 0;
|
||||||
for (uint8_t i=0; i<5; i++) {
|
for (uint8_t i=0; i<5; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user