Fix typo in hf_legic_clone.lua
variable "length" was used parameter in function, but later called as "len" Signed-off-by: beckerj <beckerj@users.noreply.github.com>
This commit is contained in:
1 parent
4d9f97954e
commit
f54851be09
1 file changed
+1
-1
@@ -168,7 +168,7 @@ local function help()
|
||||
print(example)
|
||||
end
|
||||
-- read LEGIC data
|
||||
local function readlegicdata(offset, length, iv)
|
||||
local function readlegicdata(offset, len, iv)
|
||||
-- Read data
|
||||
local d0 = ('%04X%04X%02X'):format(offset, len, iv)
|
||||
local c = Command:newNG{cmd = cmds.CMD_HF_LEGIC_READER, data = d0}
|
||||
|
||||
Reference in new issue
Block a user