X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/35147d51e3961db75a852368fffa31006da90199..95e635947bc4628b713fa00d7a533a881bca7fc4:/client/proxmark3.c diff --git a/client/proxmark3.c b/client/proxmark3.c index a9819b54..66571144 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -48,6 +48,11 @@ void SendCommand(UsbCommand *c) { return; } + /** + The while-loop below causes hangups at times, when the pm3 unit is unresponsive + or disconnected. The main console thread is alive, but comm thread just spins here. + Not good.../holiman + **/ while(txcmd_pending); txcmd = *c; txcmd_pending = true; @@ -110,7 +115,7 @@ static void *main_loop(void *targ) { } FILE *script_file = NULL; - char script_cmd_buf[256]; + char script_cmd_buf[256]; // iceman, needs lua script the same file_path_buffer as the rest if (arg->script_cmds_file) {