Skip to content

Commit

Permalink
Merge pull request linux-can#472 from marckleinebudde/cansequence
Browse files Browse the repository at this point in the history
cansequence: print counter received data as hex
  • Loading branch information
marckleinebudde authored Nov 24, 2023
2 parents 41ea759 + 5e3397e commit 97c8ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cansequence.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static void do_receive()
sequence = sequence_rx;
overflow_old = overflow;
} else if (verbose > 1) {
printf("sequence CNT: %6u, RX: %6u\n", sequence, sequence_rx);
printf("sequence CNT: 0x%07x RX: 0x%02x\n", sequence, sequence_rx);
}

sequence++;
Expand Down

0 comments on commit 97c8ccd

Please sign in to comment.