]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Minor fix, sometimes when data is sent without the pm3 is connected, it causes a...
authormartin.holst@gmail.com <martin.holst@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 6 Nov 2013 18:32:11 +0000 (18:32 +0000)
committermartin.holst@gmail.com <martin.holst@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 6 Nov 2013 18:32:11 +0000 (18:32 +0000)
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");
   }
 */
     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;
   while(txcmd_pending);
   txcmd = *c;
   txcmd_pending = true;
Impressum, Datenschutz