mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 19:54:14 +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];
|
std::string servers_[3];
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
#if defined(USE_ESP_IDF)
|
#if !defined(USE_ESP_IDF)
|
||||||
bool has_time_{false};
|
bool has_time_{false};
|
||||||
#endif
|
#endif
|
||||||
bool servers_was_setup_{false};
|
bool servers_was_setup_{false};
|
||||||
|
|
Loading…
Reference in a new issue