turn off tx led when powering off
This commit is contained in:
@@ -57,6 +57,14 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void powerOff() override {
|
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();
|
sd_power_system_off();
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user