Fix typo in lua scripts: 1443a -> 14443a.

This commit is contained in:
Arnie97 2018-01-25 13:43:01 +08:00
commit e98389b355
8 changed files with 27 additions and 27 deletions

View file

@ -106,7 +106,7 @@ function main(args)
dbg("doconnect")
-- We reuse the connect functionality from a
-- common library
info, err = lib14a.read1443a(true, no_rats)
info, err = lib14a.read14443a(true, no_rats)
if err then return oops(err) end
print(("Connected to card, uid = %s"):format(info.uid))

View file

@ -406,7 +406,7 @@ function main(args)
-- GET TAG UID
result, err = lib14a.read1443a(false, true)
result, err = lib14a.read14443a(false, true)
if not result then
return oops(err)
end

View file

@ -71,7 +71,7 @@ end
--
-- Read information from a card
function GetCardInfo()
result, err = lib14a.read1443a(false, true)
result, err = lib14a.read14443a(false, true)
if not result then
print(err)
return

View file

@ -170,7 +170,7 @@ local function main( args)
print(desc);
result, err = reader.read1443a(false, true)
result, err = reader.read14443a(false, true)
if not result then
print(err)
return

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(false, true)
res, err = reader.read14443a(false, true)
if res then return res end
-- err means that there was no response from card
end

View file

@ -122,7 +122,7 @@ local function main(args)
-- find tag
result, err = lib14a.read1443a(false, true)
result, err = lib14a.read14443a(false, true)
if not result then return oops(err) end
-- load keys

View file

@ -127,7 +127,7 @@ local function main(args)
local cmdSetDbgOff = "hf mf dbg 0"
core.console( cmdSetDbgOff)
result, err = lib14a.read1443a(false, true)
result, err = lib14a.read14443a(false, true)
if not result then
return oops(err)
end