From ac7db365610ce921ede0a78d10f7fb017df48950 Mon Sep 17 00:00:00 2001 From: Bertrand Lemasle Date: Mon, 6 Aug 2018 17:58:01 +1200 Subject: [PATCH] Reverted forcing devices power off, stupid as they need to stay on during some of those sleeps --- MainUnit.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MainUnit.cpp b/MainUnit.cpp index ff385c7..1d02dff 100644 --- a/MainUnit.cpp +++ b/MainUnit.cpp @@ -10,10 +10,6 @@ namespace mainunit { namespace details { void prepareSleep() { - //forcing the power off of ALL devices for safety - hardware::sim808::powerOff(); - hardware::i2c::powerOff(true); - hardware::sim808::simSerial.end(); //avoid woke up by SoftwareSerial interrupt delay(5); //ensure log messages have been printed out }