Replace TBEAM_V10 macro guards with more appropriate HAS_AXP192. Also eliminates symbol redefinition of AXP192_SLAVE_ADDRESS

This commit is contained in:
Thomas Göttgens
2022-08-08 16:13:38 +02:00
parent 401b5d92aa
commit 6382f67b89
6 changed files with 12 additions and 14 deletions

View File

@@ -35,7 +35,7 @@ void powerCommandsCheck()
if (shutdownAtMsec && millis() > shutdownAtMsec) {
DEBUG_MSG("Shutting down from admin command\n");
#ifdef TBEAM_V10
#ifdef HAS_AXP192
if (axp192_found == true) {
playShutdownMelody();
power->shutdown();