mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
style
This commit is contained in:
parent
7c9e3c6221
commit
b1c604c4cb
3 changed files with 1409 additions and 1409 deletions
|
@ -499,7 +499,7 @@ end
|
|||
function segmentsToTag(bytes, tag)
|
||||
if(#bytes>23) then
|
||||
local start=23
|
||||
local i=-1
|
||||
local i=-1
|
||||
if (istable(tag)) then
|
||||
repeat
|
||||
i=i+1
|
||||
|
@ -1768,7 +1768,7 @@ function getSegmentData(bytes, start, index)
|
|||
-- wrp (write proteted) = byte 2
|
||||
segment.WRP = tonumber(bytes[start+2],16)
|
||||
-- wrc (write control) - bit 4-6 of byte 3
|
||||
--segment.WRC = bbit("0x"..bytes[start+3],4,3)
|
||||
--segment.WRC = bbit("0x"..bytes[start+3],4,3)
|
||||
segment.WRC = (tonumber(bytes[start+3], 16) >> 4) & 0x07
|
||||
-- rd (read disabled) - bit 7 of byte 3
|
||||
--segment.RD = bbit("0x"..bytes[start+3],7,1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue