mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
s32k1xx: reserve MSG_DATA extra space only when needed by config.
This commit is contained in:
committed by
Petro Karashchenko
parent
3c6d45fa99
commit
78248183aa
@@ -90,7 +90,11 @@
|
||||
|
||||
#define POOL_SIZE 1
|
||||
|
||||
#if defined(CONFIG_NET_CAN_RAW_TX_DEADLINE) || defined(CONFIG_NET_TIMESTAMP)
|
||||
#define MSG_DATA sizeof(struct timeval)
|
||||
#else
|
||||
#define MSG_DATA 0
|
||||
#endif
|
||||
|
||||
/* CAN bit timing values */
|
||||
#define CLK_FREQ 80000000
|
||||
|
||||
Reference in New Issue
Block a user