small fix formatmifare.lua
This commit is contained in:
parent
8614a5a271
commit
0e512a905f
@ -92,7 +92,7 @@ function GetCardInfo()
|
|||||||
numSectors = 5
|
numSectors = 5
|
||||||
elseif 0x10 == result.sak then -- NXP MIFARE Plus 2k
|
elseif 0x10 == result.sak then -- NXP MIFARE Plus 2k
|
||||||
numSectors = 32
|
numSectors = 32
|
||||||
elseif 0x01 == sak then -- NXP MIFARE TNP3xxx 1K
|
elseif 0x01 == result.sak then -- NXP MIFARE TNP3xxx 1K
|
||||||
numSectors = 16
|
numSectors = 16
|
||||||
else
|
else
|
||||||
print("I don't know how many sectors there are on this type of card, defaulting to 16")
|
print("I don't know how many sectors there are on this type of card, defaulting to 16")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user