From c9f743049bf4de268d4d76af349355c3d1ca2988 Mon Sep 17 00:00:00 2001 From: JacobCrabill Date: Thu, 24 Jun 2021 17:15:33 -0700 Subject: [PATCH] uavcan_v1: Increase _uavcan_heap size --- src/drivers/uavcan_v1/Uavcan.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/uavcan_v1/Uavcan.hpp b/src/drivers/uavcan_v1/Uavcan.hpp index 217bac839f..2602517123 100644 --- a/src/drivers/uavcan_v1/Uavcan.hpp +++ b/src/drivers/uavcan_v1/Uavcan.hpp @@ -114,7 +114,7 @@ class UavcanNode : public ModuleParams, public px4::ScheduledWorkItem * Current size of 8192 bytes is arbitrary, should be optimized further * when more nodes and messages are on the CAN bus */ - static constexpr unsigned HeapSize = 8192; + static constexpr unsigned HeapSize = 2 * 8192; /* * Base interval, has to be complemented with events from the CAN driver