aboutsummaryrefslogtreecommitdiff
path: root/ntp_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'ntp_client.h')
-rw-r--r--ntp_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ntp_client.h b/ntp_client.h
index aedb411..f21f546 100644
--- a/ntp_client.h
+++ b/ntp_client.h
@@ -26,6 +26,11 @@
typedef struct NTP_T_ NTP_T;
+/* Set your offset from UTC here, in seconds
+ * UTC+1 = 3600
+ * Sorry, no automatic DST handling yet. */
+#define UTC_OFFSET_SEC 3600
+
enum {
NTP_DNS_ERROR,
NTP_DNS_NO_ADDR,