From ae2f8efd1ceb216351c5f5a155d94d780e3e8c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 8 Apr 2018 11:16:47 +0200 Subject: [PATCH] Fix NTP offset value --- README.md | 2 +- code/espurna/config/general.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f8acbd7..99cea235 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ESPurna ("spark" in Catalan) is a custom firmware for ESP8285/ESP8266 based smart switches, lights and sensors. It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries. -[![version](https://img.shields.io/badge/version-1.12.5b-brightgreen.svg)](CHANGELOG.md) +[![version](https://img.shields.io/badge/version-1.12.5g-brightgreen.svg)](CHANGELOG.md) ![branch](https://img.shields.io/badge/branch-dev-orange.svg) [![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=dev)](https://travis-ci.org/xoseperez/espurna) [![codacy](https://img.shields.io/codacy/grade/c9496e25cf07434cba786b462cb15f49/dev.svg)](https://www.codacy.com/app/xoseperez/espurna/dashboard) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index b32ce910..f8d54da2 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -839,7 +839,7 @@ PROGMEM const char* const custom_reset_string[] = { #define NTP_SERVER "pool.ntp.org" // Default NTP server #define NTP_TIMEOUT 2000 // Set NTP request timeout to 2 seconds (issue #452) -#define NTP_TIME_OFFSET 1 // Default timezone offset (GMT+1) +#define NTP_TIME_OFFSET 60 // Default timezone offset (GMT+1) #define NTP_DAY_LIGHT true // Enable daylight time saving by default #define NTP_SYNC_INTERVAL 60 // NTP initial check every minute #define NTP_UPDATE_INTERVAL 1800 // NTP check every 30 minutes