JaapBraam / LoRaWanGateway

A LoRaWan Gateway in LUA
MIT License
225 stars 74 forks source link

NTP server url in Config settings file #29

Closed dlarue closed 7 years ago

dlarue commented 7 years ago

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

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

JaapBraam commented 7 years ago

added...

dlarue commented 7 years ago

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)

JaapBraam commented 7 years ago

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