Skip to content

Commit

Permalink
Fix missing ntpServer name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbz committed Aug 13, 2021
1 parent 587e74d commit 654d773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SyncTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Watchy_SyncTime {

RTC_DATA_ATTR const char *ntpServer;
RTC_DATA_ATTR const char *ntpServer = NTP_SERVER;

// RTC does not know about TZ
// so DST has to be in app code
Expand Down

0 comments on commit 654d773

Please sign in to comment.