mirror of
https://github.com/apache/nuttx.git
synced 2026-09-06 08:56:32 +00:00
s32k1xx: reserve MSG_DATA extra space only when needed by config.
This commit is contained in:
parent
3c6d45fa99
commit
78248183aa
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue