15 - use NG and refactoring

This commit is contained in:
iceman1001 2019-05-07 22:46:00 +02:00
commit 6fbd45aaed
2 changed files with 43 additions and 47 deletions

View file

@ -96,7 +96,7 @@ local function read14443a(dont_disconnect, no_rats)
command.arg1 = command.arg1 + ISO14A_COMMAND.ISO14A_NO_RATS
end
local result,err = command:sendMIX()
local result, err = command:sendMIX()
if result then
local count,cmd,arg0,arg1,arg2 = bin.unpack('LLLL',result)
if arg0 == 0 then