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:
beckerj
2023-07-21 15:07:07 +02:00
committed by GitHub
parent 4d9f97954e
commit f54851be09
+1 -1
View File
@@ -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}