Преглед изворни кода

Reverted forcing devices power off, stupid as they need to stay on during some of those sleeps

tags/v1.2.0
Bertrand Lemasle пре 6 година
родитељ
комит
ac7db36561
1 измењених фајлова са 0 додато и 4 уклоњено
  1. +0
    -4
      MainUnit.cpp

+ 0
- 4
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
}


Loading…
Откажи
Сачувај