mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
convert sendOLD -> MIX for simple cmds
This commit is contained in:
parent
0c20c1a9d1
commit
39272ba1fb
6 changed files with 8 additions and 8 deletions
|
@ -906,7 +906,7 @@ returns:
|
|||
int detect_classic_nackbug(bool verbose) {
|
||||
|
||||
clearCommandBuffer();
|
||||
SendCommandOLD(CMD_MIFARE_NACK_DETECT, 0, 0, 0, NULL, 0);
|
||||
SendCommandMIX(CMD_MIFARE_NACK_DETECT, 0, 0, 0, NULL, 0);
|
||||
PacketResponseNG resp;
|
||||
|
||||
if (verbose)
|
||||
|
@ -991,7 +991,7 @@ void detect_classic_magic(void) {
|
|||
uint8_t isGeneration = 0;
|
||||
PacketResponseNG resp;
|
||||
clearCommandBuffer();
|
||||
SendCommandOLD(CMD_MIFARE_CIDENT, 0, 0, 0, NULL, 0);
|
||||
SendCommandMIX(CMD_MIFARE_CIDENT, 0, 0, 0, NULL, 0);
|
||||
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500))
|
||||
isGeneration = resp.oldarg[0] & 0xff;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue