Improve NTP (#1364)

* checking NTP status on every round and restart NTP client if we still are in 1970

* .

* .

* .

Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
CaCO3
2022-11-17 19:01:24 +01:00
committed by GitHub
parent bf8ab423e3
commit ecc43edbba
3 changed files with 81 additions and 19 deletions

View File

@@ -22,3 +22,5 @@ void reset_servername(std::string _servername);
void setBootTime();
time_t getUpTime();
bool getTimeIsSet(void);
void restartNtpClient(void);