mirror of
https://github.com/esphome/esphome.git
synced 2024-12-17 19:04:54 +01:00
Update real_time_clock.h
This commit is contained in:
parent
d844fba852
commit
bacec4fb37
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue