Skip to content

Commit 03358b3

Browse files
committed
fix: promicro: add powerOff
1 parent 637891b commit 03358b3

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)