mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Update esphome/components/sntp/sntp_component.h
This commit is contained in:
parent
7523327502
commit
1de1290bbe
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class SNTPComponent : public time::RealTimeClock {
|
|||
std::string servers_[3];
|
||||
|
||||
protected:
|
||||
#if defined(USE_ESP_IDF)
|
||||
#if !defined(USE_ESP_IDF)
|
||||
bool has_time_{false};
|
||||
#endif
|
||||
bool servers_was_setup_{false};
|
||||
|
|
Loading…
Reference in a new issue