From b2bd389795fd5c311ef469476498b5649c7fffb8 Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 8 Nov 2019 21:46:56 +0100 Subject: [PATCH] sync ntp clock every 12 hrs instead of 1 --- src/Ntp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ntp.h b/src/Ntp.h index 078e04bc6..05a55b530 100644 --- a/src/Ntp.h +++ b/src/Ntp.h @@ -13,9 +13,9 @@ #include "TimeLib.h" // customized version of the Time library #include "Timezone.h" -#define NTP_PACKET_SIZE 48 // NTP time is in the first 48 bytes of the message -#define NTP_INTERVAL_DEFAULT 60 // every hour -#define NTP_TIMEZONE_DEFAULT 2 // CE +#define NTP_PACKET_SIZE 48 // NTP time is in the first 48 bytes of the message +#define NTP_INTERVAL_DEFAULT 720 // every 12 hours +#define NTP_TIMEZONE_DEFAULT 2 // CE #define NTP_TIMEZONE_MAX 11 class NtpClient {