mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-22 19:43:21 +00:00
Minor fix, sometimes when data is sent without the pm3 is connected, it causes a spin-loop condition to occur which blocks the processor. fixed
This commit is contained in:
1 parent
b11542a7f6
commit
da9d456e9f
1 file changed
+6
@@ -41,6 +41,12 @@ void SendCommand(UsbCommand *c) {
|
||||
ERR("Sending command failed, previous command is still pending");
|
||||
}
|
||||
*/
|
||||
if(offline)
|
||||
{
|
||||
PrintAndLog("Sending bytes to proxmark failed - offline");
|
||||
return;
|
||||
}
|
||||
|
||||
while(txcmd_pending);
|
||||
txcmd = *c;
|
||||
txcmd_pending = true;
|
||||
|
||||
Reference in new issue
Block a user