From f8045e04344886916a2dc5e5597e34c10f35711c Mon Sep 17 00:00:00 2001 From: tharexde Date: Wed, 14 Oct 2020 19:59:55 +0200 Subject: [PATCH] removed function call with timeout (initial call after starting pm3 client will always cause a timeout) --- client/src/cmdlfem4x50.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/client/src/cmdlfem4x50.c b/client/src/cmdlfem4x50.c index d4cf19a09..50602e9fb 100644 --- a/client/src/cmdlfem4x50.c +++ b/client/src/cmdlfem4x50.c @@ -730,12 +730,8 @@ int CmdEM4x50Wipe(const char *Cmd) { clearCommandBuffer(); SendCommandNG(CMD_LF_EM4X50_WIPE, (uint8_t *)&etd, sizeof(etd)); - - if (!WaitForResponseTimeout(CMD_ACK, &resp, 2 * TIMEOUT)) { - PrintAndLogEx(WARNING, "\ntimeout while waiting for reply.\n"); - return PM3_ETIMEOUT; - } - + WaitForResponse(CMD_ACK, &resp); + // print response bool isOK = resp.status; if (isOK) {