Fix occasional nil error

This commit is contained in:
Tim Wilkinson 2023-04-10 22:43:00 -07:00 committed by Joe AE6XE
parent cc78b0c4a7
commit e5a0b43480
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ function lqm()
end
end
if track.type == "RF" then
if info.lqm and info.lqm.enabled and info.lqm.info.trackers then
if info.lqm and info.lqm.enabled and info.lqm.info and info.lqm.info.trackers then
rflinks[track.mac] = {}
for _, rtrack in pairs(info.lqm.info.trackers)
do