mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
* src/cansequence.c:
fixed out of order expected and received value git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-2.0-trunk@84 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
|
|||||||
printf("received frame. sequence number: %d\n",sequence);
|
printf("received frame. sequence number: %d\n",sequence);
|
||||||
if (frame.data[0] != sequence) {
|
if (frame.data[0] != sequence) {
|
||||||
printf("received wrong sequence count. expected: %d, got: %d\n",
|
printf("received wrong sequence count. expected: %d, got: %d\n",
|
||||||
frame.data[0], sequence);
|
sequence, frame.data[0]);
|
||||||
if(quit)
|
if(quit)
|
||||||
exit(1);
|
exit(1);
|
||||||
sequence = frame.data[0];
|
sequence = frame.data[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user