SocketCAN: default max_frames_in_socket_tx_queue reduced to 2

This commit is contained in:
Pavel Kirienko
2015-11-05 12:01:29 +03:00
parent 7bbb368967
commit 50ce241ba0
@@ -321,7 +321,7 @@ public:
*
* @ref max_frames_in_socket_tx_queue See a note in the class comment.
*/
SocketCanIface(const SystemClock& clock, int socket_fd, int max_frames_in_socket_tx_queue = 3)
SocketCanIface(const SystemClock& clock, int socket_fd, int max_frames_in_socket_tx_queue = 2)
: clock_(clock)
, fd_(socket_fd)
, max_frames_in_socket_tx_queue_(max_frames_in_socket_tx_queue)