fix leftover oldarg in lua scripts
This commit is contained in:
1 parent
0fbd4aa6a7
commit
c5ee0ea3d5
2 files changed
+3
-14
No files matched your search
@@ -83,11 +83,7 @@ local function read14443b(disconnect)
|
||||
local info = nil
|
||||
local result, err = c:sendNG(false, TIMEOUT)
|
||||
if result and result.Status == 0 then
|
||||
if result.Oldarg0 == 0 then
|
||||
info, err = parse14443b(result.Data)
|
||||
else
|
||||
err = 'iso14443b card select failed'
|
||||
end
|
||||
info, err = parse14443b(result.Data)
|
||||
else
|
||||
err = 'No response from card'
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user