diff --git a/client/cmdlfcotag.c b/client/cmdlfcotag.c index 546e3471a..3ba646d85 100644 --- a/client/cmdlfcotag.c +++ b/client/cmdlfcotag.c @@ -92,8 +92,7 @@ int CmdCOTAGRead(const char *Cmd) { case 1: { GetFromBigBuf(DemodBuffer, COTAG_BITS, 0); DemodBufferLen = COTAG_BITS; - UsbCommand response; - if ( !WaitForResponseTimeout(CMD_ACK, &response, 1000) ) { + if ( !WaitForResponseTimeout(CMD_ACK, NULL, 1000) ) { PrintAndLogEx(WARNING, "timeout while waiting for reply."); return -1; }