From f707e889f97e4c8a513fd061e43b900e174edb21 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Wed, 5 Feb 2014 19:15:06 +0400 Subject: [PATCH] Arch dependent MEM_POOL_BLOCK_SIZE --- libuavcan/include/uavcan/internal/impl_constants.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/include/uavcan/internal/impl_constants.hpp b/libuavcan/include/uavcan/internal/impl_constants.hpp index 33fe223360..6961f4321b 100644 --- a/libuavcan/include/uavcan/internal/impl_constants.hpp +++ b/libuavcan/include/uavcan/internal/impl_constants.hpp @@ -17,7 +17,7 @@ namespace uavcan #if UAVCAN_MEM_POOL_BLOCK_SIZE enum { MEM_POOL_BLOCK_SIZE = UAVCAN_MEM_POOL_BLOCK_SIZE }; #else -enum { MEM_POOL_BLOCK_SIZE = 48 }; +enum { MEM_POOL_BLOCK_SIZE = 32 + sizeof(void*) * 2 }; #endif enum { MEM_POOL_ALIGNMENT = 8 };