JaapBraam / LoRaWanGateway

A LoRaWan Gateway in LUA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NTP server url in Config settings file

dlarue opened this issue · comments

Add NTP server to the Config.lua file and change in LoRaWanGW.lua

CONFIG["GW_NTP_URL"]="nl.pool.ntp.org"

added...

Shouldn't lines 241 alss be changed from:
sntp.sync('nl.pool.ntp.org',function(s,us,server)
to:
sntp.sync(CONFIG[GW_NTP_SERVER],function(s,us,server)

You are right!
I'll fix it...