Skip to content

Commit 654d773

Browse files
committed
Fix missing ntpServer name bug
1 parent 587e74d commit 654d773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SyncTime.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Watchy_SyncTime {
99

10-
RTC_DATA_ATTR const char *ntpServer;
10+
RTC_DATA_ATTR const char *ntpServer = NTP_SERVER;
1111

1212
// RTC does not know about TZ
1313
// so DST has to be in app code

0 commit comments

Comments
 (0)