mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-01 04:51:30 +08:00
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:
parent
4d9f97954e
commit
f54851be09
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue