sforkowany z mirror/meshtastic-firmware
commit
d857f8ba6d
|
@ -236,6 +236,7 @@ class ButtonThread : public OSThread
|
||||||
if (millis() - longPressTime > 10 * 1000) {
|
if (millis() - longPressTime > 10 * 1000) {
|
||||||
#ifdef TBEAM_V10
|
#ifdef TBEAM_V10
|
||||||
if (axp192_found == true) {
|
if (axp192_found == true) {
|
||||||
|
setLed(false);
|
||||||
power->shutdown();
|
power->shutdown();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -858,6 +858,9 @@ void handleRoot(HTTPRequest *req, HTTPResponse *res)
|
||||||
res->setStatusText("Not found");
|
res->setStatusText("Not found");
|
||||||
res->println("404 Not Found");
|
res->println("404 Not Found");
|
||||||
res->printf("<p>File not found: %s</p>\n", filename.c_str());
|
res->printf("<p>File not found: %s</p>\n", filename.c_str());
|
||||||
|
res->printf("<p></p>\n");
|
||||||
|
res->printf("<p>You have gotten this error because the filesystem for the web server has not been loaded.</p>\n");
|
||||||
|
res->printf("<p>Please review the 'Common Problems' section of the <a href=https://github.com/meshtastic/Meshtastic-device/issues/552>web interface</a> documentation.</p>\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue