fix leftover oldarg in lua scripts

This commit is contained in:
iceman1001 committed 2026-08-29 17:07:33 +02:00
1 parent 0fbd4aa6a7
commit c5ee0ea3d5
2 files changed
+3 -14

No files matched your search

+1 -5
View File
@@ -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