From b73198d5ef7e179f84075e45901e6a63df34b3b5 Mon Sep 17 00:00:00 2001 From: marcbou Date: Thu, 16 Aug 2007 20:39:29 +0000 Subject: [PATCH] Provide default value for MEMP_NUM_TCPIP_MSG_INPUT if not defined. --- src/include/lwip/opt.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index a85cdcf4..28f2cca9 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -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