mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 04:13:33 +08:00
Arch dependent MEM_POOL_BLOCK_SIZE
This commit is contained in:
@@ -17,7 +17,7 @@ namespace uavcan
|
|||||||
#if UAVCAN_MEM_POOL_BLOCK_SIZE
|
#if UAVCAN_MEM_POOL_BLOCK_SIZE
|
||||||
enum { MEM_POOL_BLOCK_SIZE = UAVCAN_MEM_POOL_BLOCK_SIZE };
|
enum { MEM_POOL_BLOCK_SIZE = UAVCAN_MEM_POOL_BLOCK_SIZE };
|
||||||
#else
|
#else
|
||||||
enum { MEM_POOL_BLOCK_SIZE = 48 };
|
enum { MEM_POOL_BLOCK_SIZE = 32 + sizeof(void*) * 2 };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum { MEM_POOL_ALIGNMENT = 8 };
|
enum { MEM_POOL_ALIGNMENT = 8 };
|
||||||
|
|||||||
Reference in New Issue
Block a user