From aa28b1baa0248018085337e35e93aa65a003c6c5 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Tue, 19 Mar 2019 20:58:43 +0100 Subject: [PATCH] paxcounter.conf: new option for set compiled time --- src/paxcounter.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/paxcounter.conf b/src/paxcounter.conf index 46d392ae..2220a1b0 100644 --- a/src/paxcounter.conf +++ b/src/paxcounter.conf @@ -67,8 +67,9 @@ // settings for syncing time of node with external time source #define TIME_SYNC_INTERVAL 60 // sync time attempt each .. minutes from time source (GPS/LORA/RTC) [default = 60], 0 means off +#define TIME_SYNC_COMPILEDATE 1 // set to 1 to use compile date to initialize RTC after power outage [default = 0] #define TIME_SYNC_LORAWAN 0 // set to 1 to use LORA network as time source, 0 means off [default = 0] -#define TIME_SYNC_TIMESERVER 1 // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] +#define TIME_SYNC_TIMESERVER 0 // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] // time zone, see https://github.com/JChristensen/Timezone/blob/master/examples/WorldClock/WorldClock.ino #define DAYLIGHT_TIME {"CEST", Last, Sun, Mar, 2, 120} // Central European Summer Time