Skip to content

Commit b47ace5

Browse files
authored
Merge pull request #908 from ViezeVingertjes/feat/meshpocket-poweroff
Add hibernation support for MeshPocket
2 parents 27e5f6e + da7b8ad commit b47ace5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/mesh_pocket/MeshPocket.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@ class HeltecMeshPocket : public mesh::MainBoard {
4141
NVIC_SystemReset();
4242
}
4343

44+
void powerOff() override {
45+
sd_power_system_off();
46+
}
47+
4448
bool startOTAUpdate(const char* id, char reply[]) override;
4549
};

0 commit comments

Comments
 (0)