MiGri 2021-09-20 21:17:15 +02:00 committed by GitHub
parent f1246de693
commit 17f0a92875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}
}