diff --git a/src/taskWebServer.cpp b/src/taskWebServer.cpp index 5681e23..8746610 100644 --- a/src/taskWebServer.cpp +++ b/src/taskWebServer.cpp @@ -173,6 +173,7 @@ void handle_Beacon() { void handle_Shutdown() { #ifdef T_BEAM_V1_0 server.send(200,"text/html", "Shutdown"); + axp.setChgLEDMode(AXP20X_LED_OFF); axp.shutdown(); #else server.send(404,"text/html", "Not supported"); @@ -511,4 +512,4 @@ void handle_saveDeviceCfg(){ vTaskDelay(5/portTICK_PERIOD_MS); } -} \ No newline at end of file +}