Merge PowerSaving-v17 into keymindCascade
This commit is contained in:
commit
107cbc506e
39 files changed
+124
-83
No files matched your search
@@ -42,13 +42,12 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
void powerOff() override {
|
||||
void shutdownPeripherals() override {
|
||||
NRF52Board::shutdownPeripherals();
|
||||
|
||||
// turn off all leds, sd_power_system_off will not do this for us
|
||||
digitalWrite(PIN_LED_BLUE, !LED_STATE_ON);
|
||||
digitalWrite(PIN_LED_GREEN, !LED_STATE_ON);
|
||||
digitalWrite(PIN_LED_RED, !LED_STATE_ON);
|
||||
|
||||
// power off board
|
||||
NRF52Board::powerOff();
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user