Made QUEUEBUF_STATS configurable

This commit is contained in:
nifi 2010-06-24 09:48:21 +00:00
parent 49a2ca6b1e
commit 30db4eff52

View File

@ -33,7 +33,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: queuebuf.c,v 1.1 2010/06/14 19:19:16 adamdunkels Exp $ * $Id: queuebuf.c,v 1.2 2010/06/24 09:48:21 nifi Exp $
*/ */
/** /**
@ -84,10 +84,10 @@ MEMB(refbufmem, struct queuebuf_ref, QUEUEBUF_REF_NUM);
#define PRINTF(...) #define PRINTF(...)
#endif #endif
#define QUEUEBUF_CONF_STATS 0
#ifdef QUEUEBUF_CONF_STATS #ifdef QUEUEBUF_CONF_STATS
#define QUEUEBUF_STATS QUEUEBUF_CONF_STATS #define QUEUEBUF_STATS QUEUEBUF_CONF_STATS
#else
#define QUEUEBUF_STATS 0
#endif /* QUEUEBUF_CONF_STATS */ #endif /* QUEUEBUF_CONF_STATS */
#if QUEUEBUF_STATS #if QUEUEBUF_STATS