CHG: applied https://github.com/Proxmark/proxmark3/pull/553 (@arnie97) and in some more places

This commit is contained in:
iceman1001 committed 2018-01-25 09:51:49 +01:00
1 parent aad1e65b97
commit a13ecc4a4e
14 files changed
+62 -62

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
local getopt = require('getopt')
local reader = require('read14a')
local lib14a = require('read14a')
local cmds = require('commands')
local utils = require('utils')
@@ -61,7 +61,7 @@ end
-- @return if unsuccessfull : nil, error
local function wait_for_mifare()
while not core.ukbhit() do
res, err = reader.read1443a()
res, err = lib14a.read()
if res then return res end
-- err means that there was no response from card
end