Removed sanity check for received slcan ASCII data
as this is done with ASCII comparision three lines above.pull/7/head
parent
9862da595d
commit
c8be6085a4
|
|
@ -170,9 +170,6 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
rxf.can_dlc = rxbuf[rxp] & 0x0F; /* get can_dlc */
|
rxf.can_dlc = rxbuf[rxp] & 0x0F; /* get can_dlc */
|
||||||
|
|
||||||
if (rxf.can_dlc > 8)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
rxbuf[rxp] = 0; /* terminate can_id string */
|
rxbuf[rxp] = 0; /* terminate can_id string */
|
||||||
|
|
||||||
rxf.can_id = strtoul(rxbuf+1, NULL, 16);
|
rxf.can_id = strtoul(rxbuf+1, NULL, 16);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue