This commit is contained in:
iceman1001 2019-05-07 22:33:51 +02:00
commit b52a4a53b0

View file

@ -115,10 +115,10 @@ return {
lookupManufacturer = function (value) lookupManufacturer = function (value)
if type(value) == 'string' then if type(value) == 'string' then
local v = tonumber(value, 16) local v = tonumber(value, 16)
print(string.format("WARNING: lookupManufacturer expects numeric value, converted %s into %x", value,v)) print(string.format('WARNING: lookupManufacturer expects numeric value, converted %s into %x', value,v))
value = v value = v
end end
return m[value] or "no tag-info available" return m[value] or 'no tag-info available'
end, end,
} }