Browse Source

Merge branch 'development03' of https://github.com/fsck-block/ahoy into development03

pull/1169/head
lumapu 1 year ago
parent
commit
f03ec52935
  1. 7
      src/config/config.h
  2. 4
      src/config/config_override_example.h

7
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

4
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

Loading…
Cancel
Save