[time] Use lazy callback for time sync to save 8 bytes (#13652)

This commit is contained in:
J. Nick Koston
2026-02-02 22:05:27 +01:00
committed by GitHub
parent 6892805094
commit 848c237159

View File

@@ -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...> {