From c0466ae9f1be72289bf1d00114a2296e31a90fe3 Mon Sep 17 00:00:00 2001 From: GuruSR Date: Thu, 23 Dec 2021 00:25:53 -0500 Subject: [PATCH] Add the new function in for NTP correction. --- src/WatchyRTC.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WatchyRTC.h b/src/WatchyRTC.h index 9fb405d..6190f26 100644 --- a/src/WatchyRTC.h +++ b/src/WatchyRTC.h @@ -22,6 +22,7 @@ class WatchyRTC { void read(tmElements_t &tm); void set(tmElements_t tm); uint8_t temperature(); + time_t NTPCorrection(time_t FromNTP); private: void _DSConfig(String datetime); void _PCFConfig(String datetime);