feat: allow Sticky LS state to persist across EM or optionally across reboot (#4978)

This commit is contained in:
philmoz
2024-06-02 16:22:36 +10:00
committed by GitHub
parent 0399858a76
commit b16524837a
26 changed files with 121 additions and 46 deletions
+2
View File
@@ -531,6 +531,8 @@ QString ModelPrinter::printLogicalSwitchLine(int idx)
sw1Name = RawSwitch(ls.val1).toString(getCurrentBoard(), &generalSettings);
sw2Name = RawSwitch(ls.val2).toString(getCurrentBoard(), &generalSettings);
result += tr("Sticky") + QString("(%1, %2)").arg(sw1Name).arg(sw2Name);
if (ls.lsPersist)
result += tr(" Persistent");
break;
case LS_FAMILY_TIMER:
result += tr("Timer") + QString("(%1, %2)").arg(ValToTim(ls.val1)).arg(ValToTim(ls.val2));