Browse Source

Added temperature to getAndDisplayRtcTime

tags/v1.2.0
Bertrand Lemasle 6 years ago
parent
commit
47ce7e8235
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Debug.cpp

+ 1
- 1
Debug.cpp View File

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

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());
NOTICE_FORMAT("getAndDisplayRtcTime", "%d/%d/%d %d:%d:%d %t %d", tmYearToCalendar(time.Year), time.Month, time.Day, time.Hour, time.Minute, time.Second, rtc::isAccurate(), (uint16_t)(rtc::getTemperature() * 1000));
}

void setRtcTime() {


Loading…
Cancel
Save