Update real_time_clock.h

This commit is contained in:
Rebbe Pod 2024-08-27 19:28:18 -04:00
parent d844fba852
commit bacec4fb37

View file

@ -37,7 +37,7 @@ class RealTimeClock : public PollingComponent {
void call_setup() override; void call_setup() override;
void apply_timezone() { return this->apply_timezone_(); } void apply_timezone() { this->apply_timezone_(); }
void add_on_time_sync_callback(std::function<void()> callback) { void add_on_time_sync_callback(std::function<void()> callback) {
this->time_sync_callback_.add(std::move(callback)); this->time_sync_callback_.add(std::move(callback));