X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1e1de234ac2b8d337d36ba67367d8a2b447db038..e994394a40ad9c7b8e33e2fed3357d5d91ab2709:/client/cmdhfepa.c diff --git a/client/cmdhfepa.c b/client/cmdhfepa.c index e9c63f20..68176bf6 100644 --- a/client/cmdhfepa.c +++ b/client/cmdhfepa.c @@ -58,13 +58,13 @@ int CmdHFEPACollectPACENonces(const char *Cmd) } // print nonce PrintAndLog("Length: %d, Nonce: %s", nonce_length, nonce); + free(nonce); } if (i < n - 1) { sleep(d); } } PrintAndLog("End: %u", time(NULL)); - return 1; } @@ -197,9 +197,10 @@ int CmdHelp(const char *Cmd) int CmdHFEPA(const char *Cmd) { // flush - WaitForResponseTimeout(CMD_ACK,NULL,100); + clearCommandBuffer(); + //WaitForResponseTimeout(CMD_ACK,NULL,100); // parse - CmdsParse(CommandTable, Cmd); - return 0; + CmdsParse(CommandTable, Cmd); + return 0; }