mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 07:46:12 +08:00
Fix syntax errors with Calypso & 14443b Lua
This commit is contained in:
parent
e1d6d3eeb9
commit
7e1d4a54ad
|
@ -112,7 +112,7 @@ end
|
|||
-- turns on the HF field.
|
||||
local function connect14443b()
|
||||
local c = Command:newMIX{cmd = cmds.CMD_ISO_14443B_COMMAND, arg1 = ISO14B_COMMAND.ISO14B_CONNECT}
|
||||
return c.sendMIX(true)
|
||||
return c:sendMIX(true)
|
||||
end
|
||||
---
|
||||
-- Sends an instruction to do nothing, only disconnect
|
||||
|
@ -120,7 +120,7 @@ local function disconnect14443b()
|
|||
local c = Command:newMIX{cmd = cmds.CMD_ISO_14443B_COMMAND, arg1 = ISO14B_COMMAND.ISO14B_DISCONNECT}
|
||||
-- We can ignore the response here, no ACK is returned for this command
|
||||
-- Check /armsrc/iso14443b.c, ReaderIso14443b() for details
|
||||
return c.sendMIX(true)
|
||||
return c:sendMIX(true)
|
||||
end
|
||||
|
||||
local library = {
|
||||
|
|
|
@ -68,7 +68,7 @@ local function help()
|
|||
print(desc)
|
||||
print('Example usage')
|
||||
print(example)
|
||||
print(usage))
|
||||
print(usage)
|
||||
end
|
||||
--
|
||||
-- helper function, give current count of items in lua-table.
|
||||
|
|
Loading…
Reference in a new issue