소스 검색

Merge pull request #908 from ViezeVingertjes/feat/meshpocket-poweroff

Add hibernation support for MeshPocket
ripplebiz 10 달 전
부모
커밋
b47ace5d10
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      variants/mesh_pocket/MeshPocket.h

+ 4 - 0
variants/mesh_pocket/MeshPocket.h

@@ -41,5 +41,9 @@ public:
     NVIC_SystemReset();
   }
 
+  void powerOff() override {
+    sd_power_system_off();
+  }
+
   bool startOTAUpdate(const char* id, char reply[]) override;
 };