Provide default value for MEMP_NUM_TCPIP_MSG_INPUT if not defined.

This commit is contained in:
marcbou 2007-08-16 20:39:29 +00:00
parent 4236699052
commit b73198d5ef

View File

@ -193,11 +193,15 @@
#define MEMP_NUM_NETCONN 4
#endif
/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used
for sequential API communication and incoming packets. Used in
src/api/tcpip.c. */
for callback/timeout API communication. Used in src/api/tcpip.c. */
#ifndef MEMP_NUM_TCPIP_MSG
#define MEMP_NUM_TCPIP_MSG 8
#endif
/* MEMP_NUM_TCPIPMSG_INPUT: the number of struct tcpip_msg, which is used
for incoming packets. Used in src/api/tcpip.c. */
#ifndef MEMP_NUM_TCPIP_MSG_INPUT
#define MEMP_NUM_TCPIP_MSG_INPUT MEMP_NUM_TCPIP_MSG
#endif
/* ---------- ARP options ---------- */
#ifndef LWIP_ARP