mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 14:29:54 +02:00
canfdtest: can_echo_gen(): print RX'ed frame in case of RX before TX
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user