X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e12b82d362238b49d3b4b88ff7d7a1d7e618bac8..83f3f8ac40b47e220954e620a5ecbe41f54f4dc7:/client/flasher.c?ds=sidebyside diff --git a/client/flasher.c b/client/flasher.c index 652f13b1..c273c1f3 100644 --- a/client/flasher.c +++ b/client/flasher.c @@ -52,11 +52,8 @@ void ReceiveCommand(UsbCommand* rxcmd) { 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; } } @@ -128,8 +125,7 @@ int main(int argc, char **argv) serial_port_name = argv[1]; - fprintf(stderr,"Waiting for Proxmark to appear on "); - fprintf(stderr,serial_port_name); + fprintf(stderr,"Waiting for Proxmark to appear on %s",serial_port_name); do { sleep(1); fprintf(stderr, ".");