소스 검색

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
}


불러오는 중...
취소
저장