mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 20:43:34 +08:00
STM32: default size of the RX queue increased to 128
This commit is contained in:
@@ -288,7 +288,7 @@ public:
|
|||||||
* Normally only this class should be used by the application.
|
* Normally only this class should be used by the application.
|
||||||
* 145 usec per Extended CAN frame @ 1 Mbps, e.g. 32 RX slots * 145 usec --> 4.6 msec before RX queue overruns.
|
* 145 usec per Extended CAN frame @ 1 Mbps, e.g. 32 RX slots * 145 usec --> 4.6 msec before RX queue overruns.
|
||||||
*/
|
*/
|
||||||
template <unsigned RxQueueCapacity = 32>
|
template <unsigned RxQueueCapacity = 128>
|
||||||
class CanInitHelper
|
class CanInitHelper
|
||||||
{
|
{
|
||||||
CanRxItem queue_storage_[UAVCAN_STM32_NUM_IFACES][RxQueueCapacity];
|
CanRxItem queue_storage_[UAVCAN_STM32_NUM_IFACES][RxQueueCapacity];
|
||||||
|
|||||||
Reference in New Issue
Block a user