瀏覽代碼

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…
取消
儲存