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 authored and Timple committed Oct 28, 2019
1 parent 6709676 commit 806361b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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 806361b

Please sign in to comment.