This commit is contained in:
iceman1001 2020-05-27 17:44:54 +02:00
parent 54d3ea9c8f
commit b42c5f59e1

View file

@ -363,7 +363,7 @@ static int CmdLFHitagSim(const char *Cmd) {
clearCommandBuffer();
if (tag_mem_supplied) {
SendCommandOLD(cmd, 1, 0, 0, data, datalen);
SendCommandMIX(cmd, 1, 0, 0, data, datalen);
} else {
SendCommandMIX(cmd, 0, 0, 0, NULL, 0);
}
@ -693,7 +693,7 @@ static int CmdLFHitagWriter(const char *Cmd) {
}
clearCommandBuffer();
SendCommandOLD(CMD_LF_HITAGS_WRITE, htf, 0, arg2, &htd, sizeof(htd));
SendCommandMIX(CMD_LF_HITAGS_WRITE, htf, 0, arg2, &htd, sizeof(htd));
PacketResponseNG resp;
if (!WaitForResponseTimeout(CMD_ACK, &resp, 4000)) {
PrintAndLogEx(WARNING, "timeout while waiting for reply.");