瀏覽代碼

Add powerOff support for MeshPocket

ViezeVingertjes 10 月之前
父節點
當前提交
da7b8ad669
共有 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;
 };