mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Avoid client CPU busy loop when waiting pm3 (e.g. when simulating tag)
This commit is contained in:
parent
5def918e02
commit
eccf0d3bbc
1 changed files with 2 additions and 0 deletions
|
@ -733,6 +733,8 @@ bool WaitForResponseTimeoutW(uint32_t cmd, PacketResponseNG *response, size_t ms
|
|||
PrintAndLogEx(INFO, "You can cancel this operation by pressing the pm3 button");
|
||||
show_warning = false;
|
||||
}
|
||||
// just to avoid CPU busy loop:
|
||||
msleep(10);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue