From 21eb385763355e59beb23880a86eb9e3c83db36b Mon Sep 17 00:00:00 2001 From: pelgraine <140762863+pelgraine@users.noreply.github.com> Date: Mon, 2 Feb 2026 21:28:08 +1100 Subject: [PATCH] "Updated version date on mymesh.h and fixed modem_power_EN so 4G modem made inactive and annoying red LED Status light disabled when using firmware via Launcher mode" --- examples/companion_radio/MyMesh.h | 4 ++-- variants/lilygo_tdeck_pro/TDeckBoard.cpp | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/examples/companion_radio/MyMesh.h b/examples/companion_radio/MyMesh.h index 35fd5fb..a7dc908 100644 --- a/examples/companion_radio/MyMesh.h +++ b/examples/companion_radio/MyMesh.h @@ -8,11 +8,11 @@ #define FIRMWARE_VER_CODE 8 #ifndef FIRMWARE_BUILD_DATE -#define FIRMWARE_BUILD_DATE "1 Feb 2026" +#define FIRMWARE_BUILD_DATE "2 Feb 2026" #endif #ifndef FIRMWARE_VERSION -#define FIRMWARE_VERSION "Meck v0.6" +#define FIRMWARE_VERSION "Meck v0.6.1" #endif #if defined(NRF52_PLATFORM) || defined(STM32_PLATFORM) diff --git a/variants/lilygo_tdeck_pro/TDeckBoard.cpp b/variants/lilygo_tdeck_pro/TDeckBoard.cpp index 145e707..b1fd49e 100644 --- a/variants/lilygo_tdeck_pro/TDeckBoard.cpp +++ b/variants/lilygo_tdeck_pro/TDeckBoard.cpp @@ -46,6 +46,14 @@ void TDeckBoard::begin() { MESH_DEBUG_PRINTLN("TDeckBoard::begin() - GPS Serial2 initialized at %d baud", GPS_BAUDRATE); #endif + // Disable 4G modem power (only present on 4G version, not audio version) + // This turns off the red status LED on the modem module + #ifdef MODEM_POWER_EN + pinMode(MODEM_POWER_EN, OUTPUT); + digitalWrite(MODEM_POWER_EN, LOW); // Cut power to modem + MESH_DEBUG_PRINTLN("TDeckBoard::begin() - 4G modem power disabled"); + #endif + // Configure user button pinMode(PIN_USER_BTN, INPUT);