From 9baf1181dd4b1b8bf7c11354a0ea8c04b960a5ca Mon Sep 17 00:00:00 2001 From: Jeff Lehman Date: Thu, 13 Jun 2024 05:59:08 -0500 Subject: [PATCH] Add STD/DST definitions to fdrs_globals.h --- src/fdrs_globals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fdrs_globals.h b/src/fdrs_globals.h index acf07c9..79242f4 100644 --- a/src/fdrs_globals.h +++ b/src/fdrs_globals.h @@ -30,12 +30,12 @@ // NTP Time Server #define GLOBAL_DST_RULE USDST // Use US DST Rules - Change to EUDST for European rules #define GLOBAL_TIME_SERVER "0.us.pool.ntp.org" -#define GLOBAL_LOCAL_OFFSET (-5) // Time in hours between local time and UTC +#define GLOBAL_STD_OFFSET (-6) // Local standard time offset in hours from UTC - if unsure, check https://time.is +#define GLOBAL_DST_OFFSET (STD_OFFSET + 1) // Local savings time offset in hours from UTC - if unsure, check https://time.is #define GLOBAL_TIME_FETCHNTP 60 // Time in minutes between fetching time from NTP server #define GLOBAL_TIME_PRINTTIME 15 // Time in minutes between printing local time #define GLOBAL_TIME_SEND_INTERVAL 60 // Time in minutes between sending out time - #define GLOBAL_LORA_FREQUENCY 915.0 // Carrier frequency in MHz. Allowed values range from 137.0 MHz to 1020.0 MHz (varies by chip). #define GLOBAL_LORA_SF 7 // LoRa link spreading factor. Allowed values range from 6 to 12. #define GLOBAL_LORA_BANDWIDTH 125.0 // LoRa link bandwidth in kHz. Allowed values are 10.4, 15.6, 20.8, 31.25, 41.7, 62.5, 125, 250 and 500 kHz.