chg 'hw status' - reply NG.... thanks @cjbrigato

This commit is contained in:
iceman1001 2019-09-17 19:13:00 +02:00
commit d3651cc075
2 changed files with 2 additions and 2 deletions

View file

@ -502,7 +502,7 @@ static int CmdStatus(const char *Cmd) {
clearCommandBuffer();
PacketResponseNG resp;
SendCommandNG(CMD_STATUS, NULL, 0);
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000))
if (WaitForResponseTimeout(CMD_STATUS, &resp, 2000) == false)
PrintAndLogEx(WARNING, "Status command failed. Communication speed test timed out");
return PM3_SUCCESS;
}