using MIX
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user