mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 04:25:15 +01:00
Make it build 8
This commit is contained in:
parent
347b35a2c7
commit
0b22fc946a
1 changed files with 2 additions and 2 deletions
|
@ -101,9 +101,9 @@ void SNTPComponent::update() {
|
|||
void SNTPComponent::loop() {
|
||||
#ifdef USE_ESP_IDF
|
||||
if (sync_time_to_report_ == 0)
|
||||
return
|
||||
return;
|
||||
|
||||
this->cancel_timeout(FORCE_UPDATE_SCHEDULE);
|
||||
this->cancel_timeout(FORCE_UPDATE_SCHEDULE);
|
||||
const ESPTime time = ESPTime::from_epoch_local(sync_time_to_report_);
|
||||
sync_time_to_report_ = 0;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue