mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Obsolete wakeup command in favor of idle off
This commit is contained in:
parent
6835eda5b2
commit
99a7b58ae0
@ -1095,16 +1095,16 @@ void handleFileCreate()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(webServer.hasArg(F("init"))) {
|
if(webServer.hasArg(F("init"))) {
|
||||||
dispatch_wakeup(NULL, NULL);
|
dispatch_idle(NULL, "0");
|
||||||
hasp_init();
|
hasp_init();
|
||||||
}
|
}
|
||||||
if(webServer.hasArg(F("load"))) {
|
if(webServer.hasArg(F("load"))) {
|
||||||
dispatch_wakeup(NULL, NULL);
|
dispatch_idle(NULL, "0");
|
||||||
hasp_load_json();
|
hasp_load_json();
|
||||||
}
|
}
|
||||||
if(webServer.hasArg(F("page"))) {
|
if(webServer.hasArg(F("page"))) {
|
||||||
uint8_t pageid = atoi(webServer.arg(F("page")).c_str());
|
uint8_t pageid = atoi(webServer.arg(F("page")).c_str());
|
||||||
dispatch_wakeup(NULL, NULL);
|
dispatch_idle(NULL, "0");
|
||||||
dispatch_set_page(pageid, LV_SCR_LOAD_ANIM_NONE);
|
dispatch_set_page(pageid, LV_SCR_LOAD_ANIM_NONE);
|
||||||
}
|
}
|
||||||
webServer.send(200, PSTR("text/plain"), "");
|
webServer.send(200, PSTR("text/plain"), "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user