Removed sanity check for received slcan ASCII data

as this is done with ASCII comparision three lines above.
pull/7/head
Oliver Hartkopp 2009-01-21 07:38:18 +00:00
parent 9862da595d
commit c8be6085a4
1 changed files with 0 additions and 3 deletions

View File

@ -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);