From e114208fbcc4b7fe2a0d6508e7f15af4f87345a4 Mon Sep 17 00:00:00 2001 From: Bertrand Lemasle Date: Thu, 27 Dec 2018 20:54:15 +1300 Subject: [PATCH] Forcing sim808 powerOff on main loop --- src/Core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core.cpp b/src/Core.cpp index 8d83215..1a96126 100644 --- a/src/Core.cpp +++ b/src/Core.cpp @@ -61,6 +61,8 @@ namespace core { } if (acquired) updateRtcTime(); + + hardware::sim808::powerOff(); //forcing power off, regardless of the counts and current use mainunit::deepSleep(sleepTime); }