mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-08 23:28:52 +08:00
Increased MemPoolAlignment (16 bytes)
This commit is contained in:
@@ -69,7 +69,7 @@ enum { MemPoolBlockSize = UAVCAN_MEM_POOL_BLOCK_SIZE };
|
||||
enum { MemPoolBlockSize = 48 };
|
||||
#endif
|
||||
|
||||
enum { MemPoolAlignment = 8 };
|
||||
enum { MemPoolAlignment = 16 };
|
||||
|
||||
typedef char _alignment_check_for_MEM_POOL_BLOCK_SIZE[((MemPoolBlockSize & (MemPoolAlignment - 1)) == 0) ? 1 : -1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user