mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
Debug changed
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#endif
|
||||
|
||||
class Clock {
|
||||
const char* MODULE = "Clock";
|
||||
|
||||
|
||||
private:
|
||||
Time_t _time_local;
|
||||
@@ -71,7 +71,7 @@ class Clock {
|
||||
|
||||
void startSync() {
|
||||
if (!_configured) {
|
||||
//pm.info("sync to: " + _ntp + " timezone: " + String(_timezone));
|
||||
//SerialPrint("I","module","sync to: " + _ntp + " timezone: " + String(_timezone));
|
||||
setupSntp();
|
||||
_configured = true;
|
||||
// лучше не ждать, проверим в следующий раз
|
||||
@@ -79,9 +79,9 @@ class Clock {
|
||||
}
|
||||
_hasSynced = hasTimeSynced();
|
||||
if (_hasSynced) {
|
||||
//pm.info("synced " + getDateDotFormated() + " " + getTime());
|
||||
//SerialPrint("I","module","synced " + getDateDotFormated() + " " + getTime());
|
||||
} else {
|
||||
//pm.error("failed to obtain");
|
||||
//SerialPrint("[E]","module","failed to obtain");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user