X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e772774ba1823d55f7839da54bc850a8c42a3571..bd09006a8c21bea8d185018aff73c0214d15dcc7:/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;