1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00

must still be in ram on 8266

This commit is contained in:
J. Nick Koston
2025-10-24 14:38:46 -07:00
parent 9e798ffa4f
commit 01b1844e9d

View File

@@ -18,7 +18,7 @@ namespace sntp {
/// \see https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
class SNTPComponent : public time::RealTimeClock {
public:
template<typename... Args> SNTPComponent(Args... servers) : servers_{servers...} {}
SNTPComponent(std::array<const char *, SNTP_SERVER_COUNT> servers) : servers_(servers) {}
void setup() override;
void dump_config() override;