turn off tx led when powering off

This commit is contained in:
liamcottle committed 2025-08-30 21:54:46 +12:00
1 parent ad2c3ecb9f
commit 67904a0228
1 file changed
+8
+8
View File
@@ -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();
}
};