mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 15:40:34 +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
|
||||
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 };
|
||||
|
||||
Reference in New Issue
Block a user