turn off tx led when powering off

This commit is contained in:
liamcottle 2025-08-30 21:54:46 +12:00
parent d4856a5275
commit 5a34bd5460

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();
}
};