s32k1xx: reserve MSG_DATA extra space only when needed by config.
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user