mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 13:44:06 +08:00
Arch dependent MEM_POOL_BLOCK_SIZE
This commit is contained in:
parent
50d399e5b3
commit
f707e889f9
@ -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 };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user