From 93602ebb7726109e79a9cb98404d4835e9013081 Mon Sep 17 00:00:00 2001 From: Lewis Jackson <> Date: Thu, 1 Jun 2023 16:49:57 +0300 Subject: [PATCH] Timestamp bugfix --- lib/Rtc_Pcf8563/Rtc_Pcf8563.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Rtc_Pcf8563/Rtc_Pcf8563.cpp b/lib/Rtc_Pcf8563/Rtc_Pcf8563.cpp index 4338538..9c508b5 100644 --- a/lib/Rtc_Pcf8563/Rtc_Pcf8563.cpp +++ b/lib/Rtc_Pcf8563/Rtc_Pcf8563.cpp @@ -804,7 +804,7 @@ uint64_t Rtc_Pcf8563::getTimestamp64() timestamp *= 86400; // convert days in seconds // convert time to second and add it to timestamp - unsigned long timeTemp = hour * 60 + minute; + uint64_t timeTemp = hour * 60 + minute; timeTemp *= 60; timeTemp += sec;