mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-04 03:31:42 +02:00
fix Update button protection (prevent double click #527)
optimized scheduler #515 (thx @beegee3)
This commit is contained in:
parent
e5de2517e2
commit
ed16cff06e
7 changed files with 79 additions and 77 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue