Semi-Automated SendCommand -> SendCommandOLD

This commit is contained in:
Philippe Teuwen committed 2019-04-19 23:01:13 +02:00
1 parent 128d90ca3c
commit c4766b2649
41 files changed
+543 -957

No files matched your search

+1 -2
View File
@@ -74,9 +74,8 @@ static int CmdCOTAGRead(const char *Cmd) {
uint32_t rawsignal = 1;
sscanf(Cmd, "%u", &rawsignal);
PacketCommandOLD c = {CMD_COTAG, {rawsignal, 0, 0}, {{0}}};
clearCommandBuffer();
SendCommand(&c);
SendCommandOLD(CMD_COTAG, rawsignal, 0, 0, NULL, 0);
if (!WaitForResponseTimeout(CMD_ACK, NULL, 7000)) {
PrintAndLogEx(WARNING, "command execution time out");
return -1;