mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
Fix multidigit SwitchModes display
Fix multidigit SwitchModes display
This commit is contained in:
parent
5bb624ad09
commit
b32a093c0c
@ -2156,7 +2156,7 @@ void CmndSwitchMode(void) {
|
||||
Settings->switchmode[i] = XdrvMailbox.payload;
|
||||
}
|
||||
}
|
||||
char stemp[MAX_SWITCHES_SET * 3];
|
||||
char stemp[MAX_SWITCHES_SET * 4];
|
||||
stemp[0] = '\0';
|
||||
for (uint32_t i = 0; i < MAX_SWITCHES_SET; i++) {
|
||||
snprintf_P(stemp, sizeof(stemp), PSTR("%s%s%d" ), stemp, (i > 0 ? "," : "["), Settings->switchmode[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user