Skip to content

Commit

Permalink
Removed arbitration errors from socket error mask
Browse files Browse the repository at this point in the history
Since arbitration errors are not fatal, removed them from the mask
  • Loading branch information
MCFurry committed Feb 6, 2018
1 parent 4b0345a commit cd89f5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class SocketCANInterface : public AsioDriver<boost::asio::posix::stream_descript
}
can_err_mask_t err_mask =
( CAN_ERR_TX_TIMEOUT /* TX timeout (by netdevice driver) */
| CAN_ERR_LOSTARB /* lost arbitration / data[0] */
//CAN_ERR_LOSTARB /* lost arbitration / data[0] (Not a fatal error) */
| CAN_ERR_CRTL /* controller problems / data[1] */
| CAN_ERR_PROT /* protocol violations / data[2..3] */
| CAN_ERR_TRX /* transceiver status / data[4] */
Expand Down

0 comments on commit cd89f5f

Please sign in to comment.