mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +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");
|
ESP_LOGD(TAG, "Time sync reset");
|
||||||
break;
|
break;
|
||||||
case SNTP_SYNC_STATUS_COMPLETED:
|
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();
|
this->time_sync_callback_.call();
|
||||||
break;
|
break;
|
||||||
case SNTP_SYNC_STATUS_IN_PROGRESS:
|
case SNTP_SYNC_STATUS_IN_PROGRESS:
|
||||||
|
|
Loading…
Reference in a new issue