Make it build 4

This commit is contained in:
Anton Sergunov 2024-06-07 06:03:25 +00:00
parent 2d1b4b8279
commit aa3dcdcff8

View file

@ -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;