canfdtest: can_echo_gen(): print RX'ed frame in case of RX before TX
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>pull/240/head
parent
73e421557f
commit
435a59a394
|
|
@ -335,6 +335,7 @@ static int can_echo_gen(void)
|
||||||
} else {
|
} else {
|
||||||
if (!recv_tx[recv_rx_pos]) {
|
if (!recv_tx[recv_rx_pos]) {
|
||||||
printf("RX before TX!\n");
|
printf("RX before TX!\n");
|
||||||
|
print_frame(&rx_frame, 0);
|
||||||
running = 0;
|
running = 0;
|
||||||
}
|
}
|
||||||
/* compare with expected */
|
/* compare with expected */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue