From ff5888a374191f186cd7b7e6529a171005812fd3 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 17 Sep 2023 14:46:19 +0200 Subject: [PATCH] Remove obsolete #define MIDNIGHTTICKER_OFFSET --- src/config/config.h | 7 ------- src/config/config_override_example.h | 4 ---- 2 files changed, 11 deletions(-) diff --git a/src/config/config.h b/src/config/config.h index f587450aa..445fe35ee 100644 --- a/src/config/config.h +++ b/src/config/config.h @@ -208,13 +208,6 @@ // reconnect delay #define MQTT_RECONNECT_DELAY 5000 -// Offset for midnight Ticker -// relative to UTC -// may be negative for later in the next day or positive for earlier in previous day -// may contain variable like mCalculatedTimezoneOffset -// must be in parentheses -#define MIDNIGHTTICKER_OFFSET (-1) - #if __has_include("config_override.h") #include "config_override.h" #endif diff --git a/src/config/config_override_example.h b/src/config/config_override_example.h index 7413831a2..c653bf100 100644 --- a/src/config/config_override_example.h +++ b/src/config/config_override_example.h @@ -31,10 +31,6 @@ #undef DEF_SCLK_PIN #define DEF_SCLK_PIN 36 -// Offset for midnight Ticker Example: 1 second before midnight (local time) -#undef MIDNIGHTTICKER_OFFSET -#define MIDNIGHTTICKER_OFFSET (mCalculatedTimezoneOffset + 1) - // To enable the endpoint for prometheus to scrape data from at /metrics // #define ENABLE_PROMETHEUS_EP