numSectors = 5\r
elseif 0x10 == result.sak then -- NXP MIFARE Plus 2k\r
numSectors = 32\r
- elseif 0x01 == sak then -- NXP MIFARE TNP3xxx 1K\r
+ elseif 0x01 == result.sak then -- NXP MIFARE TNP3xxx 1K\r
numSectors = 16\r
else\r
print("I don't know how many sectors there are on this type of card, defaulting to 16")\r