CAN driver RX queue reduced to 21 frames per interface; poll() timeout set to 3 ms

This commit is contained in:
Pavel Kirienko
2015-10-18 03:55:47 +03:00
committed by Lorenz Meier
parent 72e651beda
commit 635bfb6a7b
+1 -1
View File
@@ -80,7 +80,7 @@ class UavcanNode : public device::CDev
static constexpr unsigned FramePerSecond = MaxBitRatePerSec / bitPerFrame;
static constexpr unsigned FramePerMSecond = ((FramePerSecond / 1000) + 1);
static constexpr unsigned PollTimeoutMs = 10;
static constexpr unsigned PollTimeoutMs = 3;
/*
* This memory is reserved for uavcan to use for queuing CAN frames.