Skip to content

Commit

Permalink
adjust define for NUM_MEMBLOCKS to match previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Feb 18, 2014
1 parent 2a5c92b commit 160df53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utility/mempool_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ typedef uint8_t memhandle;
#define NUM_TCP_MEMBLOCKS 0
#endif

#if UIP_UDP and UIP_UDP_NUMPACKETS and UIP_UDP_CONNS
#define NUM_UDP_MEMBLOCKS (UIP_UDP_NUMPACKETS+1)*UIP_UDP_CONNS
#if UIP_UDP and UIP_UDP_CONNS
#define NUM_UDP_MEMBLOCKS 3*UIP_UDP_CONNS
#else
#define NUM_UDP_MEMBLOCKS 0
#endif
Expand Down

0 comments on commit 160df53

Please sign in to comment.