mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Make it build 4
This commit is contained in:
parent
2d1b4b8279
commit
aa3dcdcff8
1 changed files with 1 additions and 3 deletions
|
@ -20,9 +20,7 @@ namespace sntp {
|
|||
static const char *const TAG = "sntp";
|
||||
static const std::string FORCE_UPDATE_SCHEDULE = "force_update_schedule";
|
||||
|
||||
const char *server_name_buffer(const std::string &server) {
|
||||
return this->server.empty() ? nullptr : this->server.c_str();
|
||||
}
|
||||
const char *server_name_buffer(const std::string &server) { return server.empty() ? nullptr : server.c_str(); }
|
||||
|
||||
#ifdef USE_ESP_IDF
|
||||
static time_t sync_time_to_report_ = 0;
|
||||
|
|
Loading…
Reference in a new issue