This commit is contained in:
parent
67ff091775
commit
93602ebb77
1 changed files with 1 additions and 1 deletions
|
@ -804,7 +804,7 @@ uint64_t Rtc_Pcf8563::getTimestamp64()
|
||||||
timestamp *= 86400; // convert days in seconds
|
timestamp *= 86400; // convert days in seconds
|
||||||
|
|
||||||
// convert time to second and add it to timestamp
|
// convert time to second and add it to timestamp
|
||||||
unsigned long timeTemp = hour * 60 + minute;
|
uint64_t timeTemp = hour * 60 + minute;
|
||||||
timeTemp *= 60;
|
timeTemp *= 60;
|
||||||
timeTemp += sec;
|
timeTemp += sec;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue