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 };