Skip to content

Commit a93a0fe

Browse files
authored
Merge pull request #717 from oltaco/promicro-hibernate
fix: promicro: add powerOff
2 parents 90cb1e7 + 03358b3 commit a93a0fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/promicro/PromicroBoard.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ class PromicroBoard : public mesh::MainBoard {
6060
void reboot() override {
6161
NVIC_SystemReset();
6262
}
63+
64+
void powerOff() override {
65+
sd_power_system_off();
66+
}
6367

6468
bool startOTAUpdate(const char* id, char reply[]) override;
6569
};

0 commit comments

Comments
 (0)