mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Increased MemPoolAlignment (16 bytes)
This commit is contained in:
parent
75455438fc
commit
db334f9fab
@ -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];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user