Skip to content

Commit

Permalink
Change NTP server
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Rohloff <[email protected]>
  • Loading branch information
V10lator committed Jun 23, 2023
1 parent 3c801f1 commit 148f9c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ OSTime NTPGetTime(const char* hostname)
}

void updateTime() {
OSTime time = NTPGetTime("time.windows.com"); // Connect to the time server.
OSTime time = NTPGetTime("pool.ntp.org"); // Connect to the time server.

if (time == 0) {
return; // Probably didn't connect correctly.
Expand Down Expand Up @@ -295,4 +295,4 @@ WUPS_CONFIG_CLOSED() {
}

WUPS_CloseStorage(); // Save all changes.
}
}

0 comments on commit 148f9c1

Please sign in to comment.