Merge pull request #83 from mi-gri/patch-1

Fix for https://github.com/SQ9MDD/TTGO-T-Beam-LoRa-APRS/issues/82
This commit is contained in:
Rysiek Labus (SQ9MDD) 2021-09-20 21:28:33 +02:00 committed by GitHub
commit 65e5de10e0
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);
}
}
}