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]pull/229/head
parent
af531c3d52
commit
da87d595c5
|
|
@ -302,7 +302,7 @@ int main(int argc, char *argv[])
|
||||||
printf("\n%05x ", j);
|
printf("\n%05x ", j);
|
||||||
j = 0;
|
j = 0;
|
||||||
}
|
}
|
||||||
printf(" %02x", dat[j]);
|
printf(" %02x", dat[i]);
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue