fix: forgot param

This commit is contained in:
iceman1001 2017-10-20 18:24:04 +02:00
parent 2cf3a0adb7
commit cdaef14759

View file

@ -160,9 +160,8 @@ bool WaitForResponseTimeoutW(uint32_t cmd, UsbCommand* response, size_t ms_timeo
return true; return true;
} }
if (msclock() - start_time > ms_timeout) { if (msclock() - start_time > ms_timeout)
break; break;
}
if (msclock() - start_time > 2000 && show_warning) { if (msclock() - start_time > 2000 && show_warning) {
PrintAndLog("Waiting for a response from the proxmark..."); PrintAndLog("Waiting for a response from the proxmark...");
@ -178,7 +177,7 @@ bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeou
} }
bool WaitForResponse(uint32_t cmd, UsbCommand* response) { bool WaitForResponse(uint32_t cmd, UsbCommand* response) {
return WaitForResponseTimeoutW(cmd, response, -1); return WaitForResponseTimeoutW(cmd, response, -1, true);
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------