[time] Use lazy callback for time sync to save 8 bytes (#13652)
This commit is contained in:
1 parent
6892805094
commit
848c237159
1 file changed
+1
-1
@@ -62,7 +62,7 @@ class RealTimeClock : public PollingComponent {
|
||||
void apply_timezone_();
|
||||
#endif
|
||||
|
||||
CallbackManager<void()> time_sync_callback_;
|
||||
LazyCallbackManager<void()> time_sync_callback_;
|
||||
};
|
||||
|
||||
template<typename... Ts> class TimeHasTimeCondition : public Condition<Ts...> {
|
||||
|
||||
Reference in new issue
Block a user