]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
FIX: change the "hf legid load", to use the WaitForResponseTimeout, instead of...
[proxmark3-svn] / client / cmddata.c
index 270b00e6ec455fa4abb40054ac017cfdfa54f213..23863131833b09dc74dbd7e9db0bffb96f1c81eb 100644 (file)
@@ -2047,7 +2047,7 @@ int CmdTuneSamples(const char *Cmd)
        clearCommandBuffer();
        SendCommand(&c);
        UsbCommand resp;
-       while(!WaitForResponseTimeout(CMD_MEASURED_ANTENNA_TUNING,&resp,1000)) {
+       while(!WaitForResponseTimeout(CMD_MEASURED_ANTENNA_TUNING, &resp, 2000)) {
                timeout++;
                printf(".");
                if (timeout > 7) {
@@ -2411,8 +2411,8 @@ static command_t CommandTable[] =
        {NULL, NULL, 0, NULL}
 };
 
-int CmdData(const char *Cmd)
-{
+int CmdData(const char *Cmd){
+       clearCommandBuffer();
        CmdsParse(CommandTable, Cmd);
        return 0;
 }
Impressum, Datenschutz