Handle old nodes with missing node details (#1292)

This commit is contained in:
Tim Wilkinson 2024-08-17 12:08:23 -07:00 committed by GitHub
parent 7808774245
commit de7edc955e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -661,8 +661,10 @@ function lqm()
end
-- Keep some useful info
track.model = info.node_details.model
track.firmware_version = info.node_details.firmware_version
if info.node_details then
track.model = info.node_details.model
track.firmware_version = info.node_details.firmware_version
end
if track.type == "RF" then
rflinks[track.mac] = nil