We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4856a5 commit 5a34bd5Copy full SHA for 5a34bd5
src/helpers/nrf52/ThinkNodeM1Board.h
@@ -57,6 +57,14 @@ class ThinkNodeM1Board : public mesh::MainBoard {
57
}
58
59
void powerOff() override {
60
+
61
+ // turn off all leds, sd_power_system_off will not do this for us
62
+ #ifdef P_LORA_TX_LED
63
+ digitalWrite(P_LORA_TX_LED, LOW);
64
+ #endif
65
66
+ // power off board
67
sd_power_system_off();
68
69
70
};
0 commit comments