Merge PowerSaving-v17 into keymindCascade

This commit is contained in:
mikecarper committed 2026-09-24 00:56:05 -07:00
commit 107cbc506e
39 files changed
+124 -83

No files matched your search

+3 -4
View File
@@ -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();
}
};