mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 19:24:10 +08:00
offline: avoid spurious "Sending bytes to proxmark failed" on exit
This commit is contained in:
parent
42cb2a32e8
commit
8a7274ec34
1 changed files with 5 additions and 3 deletions
|
@ -261,9 +261,11 @@ check_script:
|
||||||
}
|
}
|
||||||
} // end while
|
} // end while
|
||||||
|
|
||||||
clearCommandBuffer();
|
if (session.pm3_present) {
|
||||||
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
|
clearCommandBuffer();
|
||||||
msleep(100); // Make sure command is sent before killing client
|
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
|
||||||
|
msleep(100); // Make sure command is sent before killing client
|
||||||
|
}
|
||||||
|
|
||||||
while (current_cmdscriptfile())
|
while (current_cmdscriptfile())
|
||||||
pop_cmdscriptfile();
|
pop_cmdscriptfile();
|
||||||
|
|
Loading…
Reference in a new issue