mirror of https://github.com/arendst/Tasmota.git
Update xdrv_01_webserver.ino
This commit is contained in:
parent
0e240bbeb1
commit
f847763ad1
|
@ -1128,7 +1128,7 @@ bool HandleRootStatusRefresh(void)
|
||||||
}
|
}
|
||||||
#ifdef USE_SHUTTER
|
#ifdef USE_SHUTTER
|
||||||
char webindex[5]; // WebGetArg name
|
char webindex[5]; // WebGetArg name
|
||||||
for (uint32_t j = 1; j < 5; j++) {
|
for (uint32_t j = 1; j <= shutters_present; j++) {
|
||||||
snprintf_P(webindex, sizeof(webindex), PSTR("u%d"), j);
|
snprintf_P(webindex, sizeof(webindex), PSTR("u%d"), j);
|
||||||
WebGetArg(webindex, tmp, sizeof(tmp)); // 0 - 100 percent
|
WebGetArg(webindex, tmp, sizeof(tmp)); // 0 - 100 percent
|
||||||
if (strlen(tmp)) {
|
if (strlen(tmp)) {
|
||||||
|
|
Loading…
Reference in New Issue