#include <unistd.h>
#include <readline/readline.h>
#include <readline/history.h>
-//#include "proxusb.h"
+
#include "proxmark3.h"
#include "proxgui.h"
#include "cmdmain.h"
PrintAndLog("Sending bytes to proxmark failed - offline");
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;
}
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)
{