case 9:
case 11: {
uint8_t cmdBit = (cmd[1] & 1);
- uint8_t address = (cmd[2] << 7) | cmd[1] >> 1;
+ uint16_t address = (cmd[2] << 7) | cmd[1] >> 1;
if (cmdBit == LEGIC_READ)
snprintf(exp, size, "READ Byte(%d)", address);
PrintAndLog("\nValid Topaz Tag Found - Quiting Search\n");
return 1;
}
- ans = HFLegicInfo("", false);
+ ans = HFLegicReader("", false);
if ( ans == 0) {
PrintAndLog("\nValid LEGIC Tag Found - Quiting Search\n");
return 1;