mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Print tv
This commit is contained in:
parent
67c03b02af
commit
6d315c6df9
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ void SNTPComponent::loop() {
|
||||||
ESP_LOGD(TAG, "Time sync in progress");
|
ESP_LOGD(TAG, "Time sync in progress");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (item.first) {
|
||||||
|
ESP_LOGD(TAG, "Time value is %ds %dus", item.first->tv_sec, item.first->tv_usec);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
callback_args_.clear();
|
callback_args_.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue