chg: 'lf cotag - remove unneeded variable

This commit is contained in:
iceman1001 2018-04-27 16:48:12 +02:00
commit cc0fac016b

View file

@ -92,8 +92,7 @@ int CmdCOTAGRead(const char *Cmd) {
case 1: { case 1: {
GetFromBigBuf(DemodBuffer, COTAG_BITS, 0); GetFromBigBuf(DemodBuffer, COTAG_BITS, 0);
DemodBufferLen = COTAG_BITS; DemodBufferLen = COTAG_BITS;
UsbCommand response; if ( !WaitForResponseTimeout(CMD_ACK, NULL, 1000) ) {
if ( !WaitForResponseTimeout(CMD_ACK, &response, 1000) ) {
PrintAndLogEx(WARNING, "timeout while waiting for reply."); PrintAndLogEx(WARNING, "timeout while waiting for reply.");
return -1; return -1;
} }