From e82752c7776172ef5b9e9724c465996817f4cdd4 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Fri, 11 Dec 2020 22:54:48 -0800 Subject: [PATCH 1/2] #552 - Updated the 404 handler for / to refer to instructions for how to fix the problem. #552 - Updated the 404 handler for / to refer to instructions for how to fix the problem. --- src/meshwifi/meshhttp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meshwifi/meshhttp.cpp b/src/meshwifi/meshhttp.cpp index 4f4170cb0..2ac81b1c9 100644 --- a/src/meshwifi/meshhttp.cpp +++ b/src/meshwifi/meshhttp.cpp @@ -858,6 +858,9 @@ void handleRoot(HTTPRequest *req, HTTPResponse *res) res->setStatusText("Not found"); res->println("404 Not Found"); res->printf("

File not found: %s

\n", filename.c_str()); + res->printf("

\n"); + res->printf("

You have gotten this error because the filesystem for the web server has not been loaded.

\n"); + res->printf("

Please review the 'Common Problems' section of the web interface documentation.

\n"); return; } From 5852caa61cfe87b2594bcb1a48b9fcc589faba60 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Fri, 11 Dec 2020 23:03:32 -0800 Subject: [PATCH 2/2] Fix bug #551 - Turn the led off before shutting down. Fix bug #551 - Turn the led off before shutting down. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 78c1bee16..59773e2bd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -236,6 +236,7 @@ class ButtonThread : public OSThread if (millis() - longPressTime > 10 * 1000) { #ifdef TBEAM_V10 if (axp192_found == true) { + setLed(false); power->shutdown(); } #endif