diff --git a/station_broadcast.lua b/station_broadcast.lua index bbf48bc..60963cd 100644 --- a/station_broadcast.lua +++ b/station_broadcast.lua @@ -1,6 +1,6 @@ -- 1. Configuration & Constants -local APP_VERSION_TEXT = "v1.0.48" +local APP_VERSION_TEXT = "v1.0.49" local CONFIG = { CLOUD_URL = "ws://stabadmin.fse-media.group", @@ -2705,7 +2705,7 @@ function Main.loop() if not pending then State.pendingApproaching[announceKey] = { since = now, lastEta = etaSeconds } else - if etaSeconds > (tonumber(pending.lastEta) or etaSeconds) + 3 then + if etaSeconds > (tonumber(pending.lastEta) or etaSeconds) + 15 then pending.since = now end pending.lastEta = etaSeconds