This commit is contained in:
Andreas Schiffler 2022-08-10 09:28:37 +02:00
commit 4be61785d0
8 changed files with 44 additions and 8 deletions

View file

@ -548,6 +548,7 @@ void app::showIndex(void) {
html.replace(F("{VERSION}"), mVersion);
html.replace(F("{TS}"), String(mSendInterval) + " ");
html.replace(F("{JS_TS}"), String(mSendInterval * 1000));
html.replace(F("{BUILD}"), String(AUTO_GIT_HASH));
mWeb->send(200, "text/html", html);
}
@ -1163,4 +1164,4 @@ const char* app::getFieldStateClass(uint8_t fieldId) {
break;
}
return (pos >= DEVICE_CLS_ASSIGN_LIST_LEN) ? NULL : stateClasses[deviceFieldAssignment[pos].stateClsId];
}
}