mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
the old isn't needed
This commit is contained in:
parent
c3bebd350d
commit
f47d05df8a
1 changed files with 2 additions and 2 deletions
|
@ -1073,7 +1073,7 @@ static int CmdExchangeAPDU(bool chainingin, uint8_t *datain, int datainlen, bool
|
||||||
// here length PM3_CMD_DATA_SIZE=512
|
// here length PM3_CMD_DATA_SIZE=512
|
||||||
// timeout must be authomatically set by "get ATS"
|
// timeout must be authomatically set by "get ATS"
|
||||||
if (datain)
|
if (datain)
|
||||||
SendCommandOLD(CMD_HF_ISO14443A_READER, ISO14A_APDU | ISO14A_NO_DISCONNECT | cmdc, (datainlen & 0x1FF), 0, datain, datainlen & 0x1FF);
|
SendCommandMIX(CMD_HF_ISO14443A_READER, ISO14A_APDU | ISO14A_NO_DISCONNECT | cmdc, (datainlen & 0x1FF), 0, datain, datainlen & 0x1FF);
|
||||||
else
|
else
|
||||||
SendCommandMIX(CMD_HF_ISO14443A_READER, ISO14A_APDU | ISO14A_NO_DISCONNECT | cmdc, 0, 0, NULL, 0);
|
SendCommandMIX(CMD_HF_ISO14443A_READER, ISO14A_APDU | ISO14A_NO_DISCONNECT | cmdc, 0, 0, NULL, 0);
|
||||||
|
|
||||||
|
@ -1165,7 +1165,7 @@ int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool lea
|
||||||
}
|
}
|
||||||
|
|
||||||
// check R-block ACK
|
// check R-block ACK
|
||||||
//TODO check this one...
|
// TODO check this one...
|
||||||
if ((*dataoutlen == 0) && (chaining != chainBlockNotLast)) {
|
if ((*dataoutlen == 0) && (chaining != chainBlockNotLast)) {
|
||||||
if (leaveSignalON == false)
|
if (leaveSignalON == false)
|
||||||
DropField();
|
DropField();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue