Parcourir la source

Add powerOff support for MeshPocket

ViezeVingertjes il y a 10 mois
Parent
commit
da7b8ad669
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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;
 };