mirror of https://github.com/sqfmi/Watchy.git
Add the new function in for NTP correction.
parent
22883c76b8
commit
c0466ae9f1
|
@ -22,6 +22,7 @@ class WatchyRTC {
|
||||||
void read(tmElements_t &tm);
|
void read(tmElements_t &tm);
|
||||||
void set(tmElements_t tm);
|
void set(tmElements_t tm);
|
||||||
uint8_t temperature();
|
uint8_t temperature();
|
||||||
|
time_t NTPCorrection(time_t FromNTP);
|
||||||
private:
|
private:
|
||||||
void _DSConfig(String datetime);
|
void _DSConfig(String datetime);
|
||||||
void _PCFConfig(String datetime);
|
void _PCFConfig(String datetime);
|
||||||
|
|
Loading…
Reference in New Issue