minor output change
This commit is contained in:
parent
af65f5f71d
commit
1282b0e691
@ -70,7 +70,7 @@ static void *uart_receiver(void *targ) {
|
|||||||
rxlen = sizeof(UsbCommand);
|
rxlen = sizeof(UsbCommand);
|
||||||
if (uart_receive(sp,rx,&rxlen)) {
|
if (uart_receive(sp,rx,&rxlen)) {
|
||||||
if ((rxlen % sizeof(UsbCommand)) != 0) {
|
if ((rxlen % sizeof(UsbCommand)) != 0) {
|
||||||
PrintAndLog("ERROR: received %zd bytes, which does not seem to be one or more command(s)\n",rxlen);
|
PrintAndLog("ERROR: received %03zd bytes, which does not seem to be one or more command(s)\n",rxlen );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
cmd_count = rxlen / sizeof(UsbCommand);
|
cmd_count = rxlen / sizeof(UsbCommand);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user