fix Update button protection (prevent double click #527)

optimized scheduler #515 (thx @beegee3)
This commit is contained in:
lumapu 2022-12-27 23:15:36 +01:00
parent e5de2517e2
commit ed16cff06e
7 changed files with 79 additions and 77 deletions

View file

@ -201,10 +201,9 @@ class RestApi {
//obj[F("littlefs_total")] = LittleFS.totalBytes();
//obj[F("littlefs_used")] = LittleFS.usedBytes();
uint16_t evry, at;
mApp->getSchedulerInfo(&evry, &at);
obj[F("schEvryMax")] = evry;
obj[F("schAtMax")] = at;
uint8_t max;
mApp->getSchedulerInfo(&max);
obj[F("schMax")] = max;
}
void getHtmlSystem(JsonObject obj) {