X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c9ad641b61c6fc5e4b77b181ad9b58b8723f56c6..2378bb24c3d4ce21d71b4ab5739c58a9979b8b69:/client/cmdhfepa.c?ds=sidebyside diff --git a/client/cmdhfepa.c b/client/cmdhfepa.c index 786d0da1..76664bf5 100644 --- a/client/cmdhfepa.c +++ b/client/cmdhfepa.c @@ -16,7 +16,8 @@ #include #include #include "util.h" -#include "proxmark3.h" +#include "util_posix.h" +#include "comms.h" #include "ui.h" #include "cmdparser.h" #include "common.h" @@ -86,7 +87,7 @@ int CmdHFEPAPACEReplay(const char *Cmd) uint8_t *apdus[] = {msesa_apdu, gn_apdu, map_apdu, pka_apdu, ma_apdu}; // usage message - static const char const *usage_msg = + static const char *usage_msg = "Please specify 5 APDUs separated by spaces. " "Example:\n preplay 0022C1A4 1068000000 1086000002 1234ABCDEF 1A2B3C4D"; @@ -201,10 +202,7 @@ int CmdHelp(const char *Cmd) int CmdHFEPA(const char *Cmd) { - // flush - WaitForResponseTimeout(CMD_ACK,NULL,100); - - // parse - CmdsParse(CommandTable, Cmd); - return 0; + (void)WaitForResponseTimeout(CMD_ACK,NULL,100); + CmdsParse(CommandTable, Cmd); + return 0; }