mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-12 08:23:42 +00:00
Fixed LWIP_STATS defined test to value test.
This commit is contained in:
parent
44e63bac05
commit
bce92dd2f6
@ -153,11 +153,12 @@ a lot of data that needs to be copied, this should be set high. */
|
||||
#define LWIP_UDP 1
|
||||
#define UDP_TTL 255
|
||||
|
||||
#define LWIP_RAW 0
|
||||
|
||||
/* ---------- Statistics options ---------- */
|
||||
#define LWIP_STATS 1
|
||||
#define LWIP_STATS 0
|
||||
|
||||
#ifdef LWIP_STATS
|
||||
#if LWIP_STATS
|
||||
#define LINK_STATS 0
|
||||
#define IP_STATS 0
|
||||
#define ICMP_STATS 0
|
||||
@ -167,16 +168,7 @@ a lot of data that needs to be copied, this should be set high. */
|
||||
#define MEMP_STATS 1
|
||||
#define PBUF_STATS 1
|
||||
#define SYS_STATS 0
|
||||
#else
|
||||
#define LINK_STATS 0
|
||||
#define IP_STATS 0
|
||||
#define ICMP_STATS 0
|
||||
#define UDP_STATS 0
|
||||
#define TCP_STATS 0
|
||||
#define MEM_STATS 0
|
||||
#define MEMP_STATS 0
|
||||
#define PBUF_STATS 0
|
||||
#define SYS_STATS 0
|
||||
|
||||
#endif /* LWIP_STATS */
|
||||
|
||||
/** print only debug messages with this level or higher */
|
||||
|
@ -262,7 +262,7 @@ mintapif_input(struct netif *netif)
|
||||
|
||||
if (p != NULL) {
|
||||
|
||||
#ifdef LINK_STATS
|
||||
#if LINK_STATS
|
||||
lwip_stats.link.recv++;
|
||||
#endif /* LINK_STATS */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user