Bläddra i källkod

Forcing sim808 powerOff on main loop

tags/v1.4.3^2
Bertrand Lemasle 6 år sedan
förälder
incheckning
e114208fbc
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. +2
    -0
      src/Core.cpp

+ 2
- 0
src/Core.cpp Visa fil

@@ -61,6 +61,8 @@ namespace core {
} }
if (acquired) updateRtcTime(); if (acquired) updateRtcTime();
hardware::sim808::powerOff(); //forcing power off, regardless of the counts and current use
mainunit::deepSleep(sleepTime); mainunit::deepSleep(sleepTime);
} }


Laddar…
Avbryt
Spara