Update xdrv_01_webserver.ino

This commit is contained in:
Theo Arends 2019-10-01 10:49:42 +02:00
parent 0e240bbeb1
commit f847763ad1
1 changed files with 1 additions and 1 deletions

View File

@ -1128,7 +1128,7 @@ bool HandleRootStatusRefresh(void)
}
#ifdef USE_SHUTTER
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);
WebGetArg(webindex, tmp, sizeof(tmp)); // 0 - 100 percent
if (strlen(tmp)) {