]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flasher.c
CHG: Syntax suger
[proxmark3-svn] / client / flasher.c
index 1390d8171cebb853149b349bdef16182312ffeb1..c273c1f383b759c76a008669d91f1300c30134e7 100644 (file)
@@ -13,7 +13,7 @@
 #include "proxmark3.h"
 #include "flash.h"
 #include "uart.h"
 #include "proxmark3.h"
 #include "flash.h"
 #include "uart.h"
-#include "../include/usb_cmd.h"
+#include "usb_cmd.h"
 
 #ifdef _WIN32
 # define unlink(x)
 
 #ifdef _WIN32
 # define unlink(x)
@@ -52,11 +52,8 @@ void ReceiveCommand(UsbCommand* rxcmd) {
   while (true) {
     rxlen = sizeof(UsbCommand) - (prx-prxcmd);
     if (uart_receive(sp,prx,&rxlen)) {
   while (true) {
     rxlen = sizeof(UsbCommand) - (prx-prxcmd);
     if (uart_receive(sp,prx,&rxlen)) {
-//      printf("received [%zd] bytes\n",rxlen);
       prx += rxlen;
       if ((prx-prxcmd) >= sizeof(UsbCommand)) {
       prx += rxlen;
       if ((prx-prxcmd) >= sizeof(UsbCommand)) {
-//        printf("received: ");
-//        cmd_debug(rxcmd);
         return;
       }
     }
         return;
       }
     }
Impressum, Datenschutz