Prevent delay to be accessible for edge LS (#4781)
This commit is contained in:
@@ -217,6 +217,13 @@ void menuModelLogicalSwitchOne(event_t event)
|
|||||||
|
|
||||||
case LS_FIELD_DELAY:
|
case LS_FIELD_DELAY:
|
||||||
lcdDrawTextAlignedLeft(y, STR_DELAY);
|
lcdDrawTextAlignedLeft(y, STR_DELAY);
|
||||||
|
if (cstate == LS_FAMILY_EDGE) {
|
||||||
|
lcdDrawText(CSWONE_2ND_COLUMN, y, STR_NA);
|
||||||
|
if (attr) {
|
||||||
|
REPEAT_LAST_CURSOR_MOVE();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (cs->delay > 0)
|
if (cs->delay > 0)
|
||||||
lcdDrawNumber(CSWONE_2ND_COLUMN, y, cs->delay, attr|PREC1|LEFT);
|
lcdDrawNumber(CSWONE_2ND_COLUMN, y, cs->delay, attr|PREC1|LEFT);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user