X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e772774ba1823d55f7839da54bc850a8c42a3571..3919356baf9635c7cfa2f2bf77cc5b66da672cc2:/client/proxmark3.c diff --git a/client/proxmark3.c b/client/proxmark3.c index b374b294..b49b4d05 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -98,7 +98,8 @@ static void *uart_receiver(void *targ) { prx = rx; if (txcmd_pending) { - if ( !uart_send(sp, (byte_t*) &txcmd, sizeof(UsbCommand))) { + bool res = uart_send(sp, (byte_t*) &txcmd, sizeof(UsbCommand)); + if (!res) { PrintAndLog("Sending bytes to proxmark failed"); } txcmd_pending = false;