mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
Semi-Automated SendCommand -> SendCommandOLD
This commit is contained in:
parent
128d90ca3c
commit
c4766b2649
41 changed files with 543 additions and 957 deletions
|
@ -512,10 +512,8 @@ static int CmdAnalyseA(const char *Cmd) {
|
|||
if (errors || cmdp == 0) return usage_analyse_a();
|
||||
|
||||
|
||||
PacketCommandOLD c = {CMD_FPC_SEND, {0, 0, 0}, {{0}}};
|
||||
memcpy(c.d.asBytes, data, USB_CMD_DATA_SIZE);
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
SendCommandOLD(CMD_FPC_SEND, 0, 0, 0, data, USB_CMD_DATA_SIZE);
|
||||
|
||||
PacketResponseNG resp;
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue