add #114 ntp_server_name and port to eeprom

This commit is contained in:
stefan123t 2022-08-07 01:10:42 +02:00
parent 966a25bcd0
commit 2c177fbfa8
5 changed files with 40 additions and 7 deletions

View file

@ -26,9 +26,9 @@
const byte mDnsPort = 53;
/* TIMESERVER CONFIG */
#define TIMESERVER_NAME "pool.ntp.org"
#define TIME_LOCAL_PORT 8888
/* NTP TIMESERVER CONFIG */
#define NTP_SERVER_NAME "pool.ntp.org"
#define NTP_LOCAL_PORT 8888
#define NTP_PACKET_SIZE 48
#define TIMEZONE 1 // Central European time +1