removed function call with timeout (initial call after starting pm3 client will always cause a timeout)

This commit is contained in:
tharexde 2020-10-14 19:59:55 +02:00
commit f8045e0434

View file

@ -730,11 +730,7 @@ int CmdEM4x50Wipe(const char *Cmd) {
clearCommandBuffer(); clearCommandBuffer();
SendCommandNG(CMD_LF_EM4X50_WIPE, (uint8_t *)&etd, sizeof(etd)); SendCommandNG(CMD_LF_EM4X50_WIPE, (uint8_t *)&etd, sizeof(etd));
WaitForResponse(CMD_ACK, &resp);
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2 * TIMEOUT)) {
PrintAndLogEx(WARNING, "\ntimeout while waiting for reply.\n");
return PM3_ETIMEOUT;
}
// print response // print response
bool isOK = resp.status; bool isOK = resp.status;