mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Merge pull request #232 from olerem/testj1939
testj1939: print proper offset in the data damp
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ int main(int argc, char *argv[])
|
||||
peername.can_addr.j1939.pgn);
|
||||
for (i = 0, j = 0; i < ret; ++i, j++) {
|
||||
if (j == 8) {
|
||||
printf("\n%05x ", j);
|
||||
printf("\n%05x ", i);
|
||||
j = 0;
|
||||
}
|
||||
printf(" %02x", dat[i]);
|
||||
|
||||
Reference in New Issue
Block a user