update to display h and cpp

This commit is contained in:
richonguzman
2024-08-14 12:32:34 -04:00
parent 22203a7c24
commit 39276b0d32
12 changed files with 55 additions and 55 deletions

View File

@@ -210,7 +210,7 @@ namespace WEB_Utils {
AsyncWebServerResponse *response = request->beginResponse(302, "text/html", "");
response->addHeader("Location", "/");
request->send(response);
display_toggle(false);
displayToggle(false);
ESP.restart();
}
@@ -222,7 +222,7 @@ namespace WEB_Utils {
request->send(200, "text/plain", "Beacon will be sent in a while");
} else if (type == "reboot") {
display_toggle(false);
displayToggle(false);
ESP.restart();
} else {
request->send(404, "text/plain", "Not Found");