Merge PowerSaving-v17 into keymindCascade
This commit is contained in:
commit
107cbc506e
39 files changed
+124
-83
No files matched your search
@@ -36,14 +36,12 @@ public:
|
||||
return "Elecrow ThinkNode M6";
|
||||
}
|
||||
|
||||
void powerOff() override {
|
||||
void shutdownPeripherals() override {
|
||||
NRF52Board::shutdownPeripherals();
|
||||
|
||||
// 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
|
||||
NRF52Board::powerOff();
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user