From e98b3365f621a8348ac5c8c8481dff769822f3a1 Mon Sep 17 00:00:00 2001 From: Justin Smestad Date: Tue, 3 Aug 2021 20:17:38 -0600 Subject: [PATCH] Flag Sntp as started after starting --- lib/smooth/core/sntp/Sntp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/smooth/core/sntp/Sntp.cpp b/lib/smooth/core/sntp/Sntp.cpp index 89c02348..234b02bd 100644 --- a/lib/smooth/core/sntp/Sntp.cpp +++ b/lib/smooth/core/sntp/Sntp.cpp @@ -49,6 +49,8 @@ namespace smooth::core::sntp sntp_set_time_sync_notification_cb(&Sntp::timeSyncNotificationCallback); sntp_init(); + + started = true; } #ifndef ESP_PLATFORM