When there is an invalid frame on CAN bus (in our case CAN FD), PCAN first reports result PCAN_ERROR_ILLDATA and then it send the error frame. If the PCAN_ERROR_ILLDATA is not ignored, python-can throws an exception. Reported as #1849
This fix adds a branch in pcan.py:_recv_internal, which ignores the PCAN_ERROR_ILLDATA.
When there is an invalid frame on CAN bus (in our case CAN FD), PCAN first reports result PCAN_ERROR_ILLDATA and then it send the error frame. If the PCAN_ERROR_ILLDATA is not ignored, python-can throws an exception. Reported as #1849
This fix adds a branch in pcan.py:_recv_internal, which ignores the PCAN_ERROR_ILLDATA.