Skip to content

Commit 160df53

Browse files
committed
adjust define for NUM_MEMBLOCKS to match previous commit
1 parent 2a5c92b commit 160df53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utility/mempool_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ typedef uint8_t memhandle;
1515
#define NUM_TCP_MEMBLOCKS 0
1616
#endif
1717

18-
#if UIP_UDP and UIP_UDP_NUMPACKETS and UIP_UDP_CONNS
19-
#define NUM_UDP_MEMBLOCKS (UIP_UDP_NUMPACKETS+1)*UIP_UDP_CONNS
18+
#if UIP_UDP and UIP_UDP_CONNS
19+
#define NUM_UDP_MEMBLOCKS 3*UIP_UDP_CONNS
2020
#else
2121
#define NUM_UDP_MEMBLOCKS 0
2222
#endif

0 commit comments

Comments
 (0)