mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
Compile error fix
This commit is contained in:
parent
db3266ac48
commit
ab89f4877c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ void SNTPComponent::setup() {
|
|||
ESP_LOGD(TAG, "Time sync reset");
|
||||
break;
|
||||
case SNTP_SYNC_STATUS_COMPLETED:
|
||||
ESP_LOGD(TAG, "Time sync completed. Delta is %ds", tv->tv_sec - timeval.tv_sec);
|
||||
ESP_LOGD(TAG, "Time sync completed. Delta is %ds", tv->tv_sec - time_val.tv_sec);
|
||||
this->time_sync_callback_.call();
|
||||
break;
|
||||
case SNTP_SYNC_STATUS_IN_PROGRESS:
|
||||
|
|
Loading…
Reference in a new issue