using MIX

This commit is contained in:
iceman1001 2019-05-07 22:33:26 +02:00
commit b73146533a
2 changed files with 33 additions and 64 deletions

View file

@ -120,13 +120,13 @@ end
-- @return if successfull: an table containing card info
-- @return if unsuccessfull : nil, error
local function waitFor14443a()
print("Waiting for card... press any key to quit")
print('Waiting for card... press any key to quit')
while not core.ukbhit() do
res, err = read14443a()
if res then return res end
-- err means that there was no response from card
end
return nil, "Aborted by user"
return nil, 'Aborted by user'
end
-- Sends an instruction to do nothing, only disconnect