mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
fix
This commit is contained in:
parent
2b561ad732
commit
7cc6975e52
2 changed files with 3 additions and 3 deletions
|
@ -91,8 +91,8 @@ end
|
|||
-- @return nil, errormessage if unsuccessfull
|
||||
local function getBlock(blockno)
|
||||
local block, err
|
||||
local cmd = Command:newMIX{cmd = cmds.CMD_MIFAREU_READBL, arg1 = blockno, data = 0}
|
||||
block, err = getblockdata(cmd:sendMIX(false))
|
||||
local c = Command:newMIX{cmd = cmds.CMD_MIFAREU_READBL, arg1 = blockno, data = 0}
|
||||
block, err = getblockdata(c:sendMIX(false))
|
||||
if not block then return oops(err) end
|
||||
|
||||
if #block < 32 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue