Adjust LUA scripts to new ISO14A_NO_RATS option

This commit is contained in:
pwpiwi 2017-10-04 18:25:34 +02:00
parent c04a4b60ce
commit 5d8f664d7a
8 changed files with 23 additions and 11 deletions

View file

@ -56,7 +56,7 @@ end
-- @return if unsuccessfull : nil, error
function wait_for_mifare()
while not core.ukbhit() do
res, err = reader.read1443a()
res, err = reader.read1443a(false, true)
if res then return res end
-- err means that there was no response from card
end