mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Make sure standalone modes can be launched when connected on USB without client
This commit is contained in:
parent
b7016e0bed
commit
d7614684f8
6 changed files with 72 additions and 35 deletions
|
@ -211,6 +211,10 @@ main_loop(char *script_cmds_file, char *script_cmd) {
|
|||
}
|
||||
} // end while
|
||||
|
||||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
|
||||
msleep(100); // Make sure command is sent before killing client
|
||||
|
||||
if (sf)
|
||||
fclose(sf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue