]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
Minor fix, sometimes when data is sent without the pm3 is connected, it causes a...
[proxmark3-svn] / client / proxmark3.c
index 102e03f72473ec0004028a522eb0c0ca4018e5ae..91bc7b3140755690726547d323c96f93453dc2ac 100644 (file)
@@ -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;
Impressum, Datenschutz