#include "proxmark3.h"
#include "flash.h"
#include "uart.h"
-#include "../include/usb_cmd.h"
+#include "usb_cmd.h"
#ifdef _WIN32
# define unlink(x)
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)) {
-// printf("received: ");
-// cmd_debug(rxcmd);
return;
}
}