AND switch wasn't converted

This commit is contained in:
Andre Bernet
2014-02-11 17:24:03 +01:00
parent 83727726aa
commit 9caa0f1e3b
+1 -1
View File
@@ -439,7 +439,7 @@ void ConvertModel_215_to_216(ModelData &model)
sw.v2 = oldModel.customSw[i].v2;
sw.delay = oldModel.customSw[i].delay;
sw.duration = oldModel.customSw[i].duration;
sw.andsw = oldModel.customSw[i].andsw;
sw.andsw = ConvertSwitch_215_to_216(oldModel.customSw[i].andsw);
#if defined(PCBTARANIS)
uint8_t cstate = cswFamily(sw.func);
if (cstate == LS_FAMILY_BOOL) {