Browse Source

ntp_time_offset and net_day_light

rfm69
Lazar Obradovic 6 years ago
parent
commit
9db0b4b4d7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      code/espurna/config/general.h

+ 6
- 0
code/espurna/config/general.h View File

@ -1082,7 +1082,13 @@ PROGMEM const char* const custom_reset_string[] = {
#ifndef NTP_TIMEOUT #ifndef NTP_TIMEOUT
#define NTP_TIMEOUT 2000 // Set NTP request timeout to 2 seconds (issue #452) #define NTP_TIMEOUT 2000 // Set NTP request timeout to 2 seconds (issue #452)
#endif
#ifndef NTP_TIME_OFFSET
#define NTP_TIME_OFFSET 60 // Default timezone offset (GMT+1) #define NTP_TIME_OFFSET 60 // Default timezone offset (GMT+1)
#endif
#ifndef NTP_DAY_LIGHT
#define NTP_DAY_LIGHT true // Enable daylight time saving by default #define NTP_DAY_LIGHT true // Enable daylight time saving by default
#endif #endif


Loading…
Cancel
Save