From 8de023dfc39a294f9c211d73130d781f80edcb3c Mon Sep 17 00:00:00 2001 From: Todd Herbert Date: Thu, 10 Jul 2025 01:09:19 +1200 Subject: [PATCH] Remove dead code from nicheGraphics.h Remnants of T-Echo's nicheGraphics.h file, which was used as a template. --- .../seeed_wio_tracker_L1-inkhud/nicheGraphics.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/variants/seeed_wio_tracker_L1-inkhud/nicheGraphics.h b/variants/seeed_wio_tracker_L1-inkhud/nicheGraphics.h index a32753343..615b7c991 100644 --- a/variants/seeed_wio_tracker_L1-inkhud/nicheGraphics.h +++ b/variants/seeed_wio_tracker_L1-inkhud/nicheGraphics.h @@ -18,16 +18,9 @@ // Shared NicheGraphics components // -------------------------------- -#include "graphics/niche/Drivers/Backlight/LatchingBacklight.h" #include "graphics/niche/Drivers/EInk/GDEY0213B74.h" #include "graphics/niche/Inputs/TwoButton.h" -// Special case - fix T-Echo's touch button -// ---------------------------------------- -// On a handful of T-Echos, LoRa TX triggers the capacitive touch -// To avoid this, we lockout the button during TX -#include "mesh/RadioLibInterface.h" - void setupNicheGraphics() { using namespace NicheGraphics; @@ -65,14 +58,8 @@ void setupNicheGraphics() inkhud->persistence->settings.userTiles.maxCount = 2; // Two applets side-by-side // 270 degrees clockwise inkhud->persistence->settings.optionalFeatures.batteryIcon = true; // Device definitely has a battery - inkhud->persistence->settings.optionalMenuItems.backlight = true; // Until proves capacitive button works by touching it inkhud->persistence->settings.userTiles.count = 1; // One tile only by default, keep things simple for new users - // Setup backlight controller - // Note: AUX button attached further down - Drivers::LatchingBacklight *backlight = Drivers::LatchingBacklight::getInstance(); - backlight->setPin(PIN_EINK_EN); - // Pick applets // Note: order of applets determines priority of "auto-show" feature inkhud->addApplet("All Messages", new InkHUD::AllMessageApplet, true, true); // Activated, autoshown