s32k1xx: reserve MSG_DATA extra space only when needed by config.

This commit is contained in:
Carlos Sanchez 2023-01-09 14:47:59 +01:00 committed by Petro Karashchenko
parent 3c6d45fa99
commit 78248183aa

View File

@ -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