mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-17 18:50:32 +08:00
fix: forgot param
This commit is contained in:
parent
2cf3a0adb7
commit
cdaef14759
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue