Merge pull request #240 from marckleinebudde/canfdtest

canfdtest: remove trailing whitespace and print RX'ed frame in case of RX before TX
pull/241/head
Marc Kleine-Budde 2020-09-24 11:27:10 +02:00 committed by GitHub
commit e1f75da433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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 */