소스 검색

Additional debug info for getTime and notifyFailures

tags/v1.2.0
Bertrand Lemasle 6 년 전
부모
커밋
9882a9dc0b
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      GpsTracker/Debug.cpp

+ 3
- 2
GpsTracker/Debug.cpp 파일 보기

@@ -192,7 +192,7 @@ namespace debug {
tmElements_t time;
rtc::getTime(time);

NOTICE_FORMAT("getAndDisplayRtcTime", "%d/%d/%d %d:%d:%d", tmYearToCalendar(time.Year), time.Month, time.Day, time.Hour, time.Minute, time.Second);
NOTICE_FORMAT("getAndDisplayRtcTime", "%d/%d/%d %d:%d:%d %t", tmYearToCalendar(time.Year), time.Month, time.Day, time.Hour, time.Minute, time.Second, rtc::isAccurate());
}

void setRtcTime() {
@@ -278,7 +278,8 @@ namespace debug {
SIM808_GPS_STATUS::OFF
};

core::notifyFailures(metadata);
uint8_t alerts = core::notifyFailures(metadata);
NOTICE_FORMAT("notifyFailures", "result : %B", alerts);
}

void clearAlerts() {


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