We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bda4a18 + 59a26ae commit a7c9a2fCopy full SHA for a7c9a2f
libraries/RTC/src/RTClock.cpp
@@ -347,7 +347,7 @@ int RTCTime::getMinutes() { return minutes; }
347
int RTCTime::getSeconds() { return seconds; }
348
DayOfWeek RTCTime::getDayOfWeek() { return day_of_week; }
349
350
-time_t RTCTime::getUnixTime() { Serial.println(stime.tm_year);Serial.println(stime.tm_mon);Serial.println(stime.tm_mday); return mktime ( (struct tm *)&stime ); }
+time_t RTCTime::getUnixTime() { return mktime ( (struct tm *)&stime ); }
351
struct tm RTCTime::getTmTime() { return (struct tm)stime; }
352
353
/* -------------------------------------------------------------------------- */
0 commit comments