fix(ui): wake display on T-Echo KeyShield Home key, drop dead code

Home key toggles the keyboard backlight but wasn't going through
checkDisplayOn() like every other TCA8418 key, so it couldn't wake a
sleeping display or extend the auto-off timer.

Also: removed a no-op #elif branch in ST7789Display.cpp (same values as
the #else it duplicated), and ENABLE_SCREENSHOT on the Cardputer ADV
solo env, which does nothing since ST7789Display has no getBuffer().
This commit is contained in:
MarekZegare4
2026-08-14 01:07:06 +02:00
parent 55cb5d25d3
commit 64d4b2982b
3 changed files with 2 additions and 5 deletions
@@ -110,7 +110,6 @@ build_flags =
-D FIRMWARE_SOLO_BUILD=1
-D MESHCORE_VERSION='"1.17"'
-D UI_SENSORS_PAGE=1
-D ENABLE_SCREENSHOT
; misc-fixed 6x9 font (full Latin/Greek/Cyrillic), same as the Wio L1/Heltec
; solo builds. Solo only: it costs ~14 KB of flash, and this board's own
; QWERTY keyboard is exactly the case that benefits from typing those