mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
must still be in ram on 8266
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user