From a1bbd70282593eb88b37f6ebb6e5a5c197bd9238 Mon Sep 17 00:00:00 2001 From: Phil Crump Date: Wed, 5 Sep 2018 18:11:53 +0100 Subject: [PATCH] lib/ntp: Remove onsite NTP server. NTP pool is now primary. --- lib/ntp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntp.py b/lib/ntp.py index 1c0fbdf..702ad41 100644 --- a/lib/ntp.py +++ b/lib/ntp.py @@ -12,7 +12,7 @@ import machine # (date(2000, 1, 1) - date(1900, 1, 1)).days * 24*60*60 NTP_DELTA = 3155673600 # With Mk3 Firmware an IP address string works 5%, hangs at socket.socket(..) 95%, could be a bug in 2016 upython? -NTP_HOSTS = ["ntp-gps.emf.camp", "0.emfbadge.pool.ntp.org", "1.emfbadge.pool.ntp.org", "2.emfbadge.pool.ntp.org", "3.emfbadge.pool.ntp.org"] +NTP_HOSTS = ["0.emfbadge.pool.ntp.org", "1.emfbadge.pool.ntp.org", "2.emfbadge.pool.ntp.org", "3.emfbadge.pool.ntp.org"] NTP_PORT = 123 def get_NTP_time():