mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-06 14:59:53 +02:00
Update testj1939.c
When receiving multi chunk messages, only the first 8 are printed. Simple coding mistake. Should print dat[i] instead of dat[j]
This commit is contained in:
+1
-1
@@ -302,7 +302,7 @@ int main(int argc, char *argv[])
|
||||
printf("\n%05x ", j);
|
||||
j = 0;
|
||||
}
|
||||
printf(" %02x", dat[j]);
|
||||
printf(" %02x", dat[i]);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user