]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
Patch by jonor, fixes so uart_receive does not block when data is continuosly receive...
[proxmark3-svn] / client / proxmark3.c
index 78bc1fe47040fe88c46ba8ea5a9b29cf67cb71d4..5cbacc8608cd1024aa4f6a271e3744a4405ed3c1 100644 (file)
@@ -26,7 +26,7 @@
 
 static serial_port sp;
 static UsbCommand txcmd;
-static bool txcmd_pending = false;
+volatile static bool txcmd_pending = false;
 
 void SendCommand(UsbCommand *c) {
 #if 0
@@ -200,6 +200,7 @@ int main(int argc, char* argv[]) {
   
   if (argc < 2) {
     printf("syntax: %s <port>\n\n",argv[0]);
+    printf("\tLinux example:'%s /dev/ttyACM0'\n\n", argv[0]);
     return 1;
   }
   
Impressum, Datenschutz