From 50ce241ba0e35d65f2d46c31b86f1ee2fd321e90 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Thu, 5 Nov 2015 12:01:29 +0300 Subject: [PATCH] SocketCAN: default max_frames_in_socket_tx_queue reduced to 2 --- libuavcan_drivers/linux/include/uavcan_linux/socketcan.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan_drivers/linux/include/uavcan_linux/socketcan.hpp b/libuavcan_drivers/linux/include/uavcan_linux/socketcan.hpp index 0826bed8cd..638e0874ec 100644 --- a/libuavcan_drivers/linux/include/uavcan_linux/socketcan.hpp +++ b/libuavcan_drivers/linux/include/uavcan_linux/socketcan.hpp @@ -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)