From 5a34bd54604a62384f7a51418b25785b60821f81 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sat, 30 Aug 2025 21:54:46 +1200 Subject: [PATCH] turn off tx led when powering off --- src/helpers/nrf52/ThinkNodeM1Board.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/helpers/nrf52/ThinkNodeM1Board.h b/src/helpers/nrf52/ThinkNodeM1Board.h index c1ffcbbf..fc752223 100644 --- a/src/helpers/nrf52/ThinkNodeM1Board.h +++ b/src/helpers/nrf52/ThinkNodeM1Board.h @@ -57,6 +57,14 @@ public: } void powerOff() override { + + // turn off all leds, sd_power_system_off will not do this for us + #ifdef P_LORA_TX_LED + digitalWrite(P_LORA_TX_LED, LOW); + #endif + + // power off board sd_power_system_off(); + } };