Removed debug strings to save ROM

This commit is contained in:
adamdunkels 2009-10-20 08:06:43 +00:00
parent 223fa1c8e5
commit 91579fbaab

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: packetbuf.c,v 1.3 2009/03/24 07:14:12 adamdunkels Exp $ * $Id: packetbuf.c,v 1.4 2009/10/20 08:06:43 adamdunkels Exp $
*/ */
/** /**
@ -52,6 +52,8 @@
struct packetbuf_attr packetbuf_attrs[PACKETBUF_NUM_ATTRS]; struct packetbuf_attr packetbuf_attrs[PACKETBUF_NUM_ATTRS];
struct packetbuf_addr packetbuf_addrs[PACKETBUF_NUM_ADDRS]; struct packetbuf_addr packetbuf_addrs[PACKETBUF_NUM_ADDRS];
#define DEBUG_STRINGS 0
#if DEBUG_STRINGS
const char *packetbuf_attr_strings[] = const char *packetbuf_attr_strings[] =
{ {
"PACKETBUF_ATTR_NONE", "PACKETBUF_ATTR_NONE",
@ -85,6 +87,7 @@ const char *packetbuf_attr_strings[] =
"PACKETBUF_ATTR_MAX", "PACKETBUF_ATTR_MAX",
}; };
#endif /* DEBUG_STRINGS */
static uint16_t buflen, bufptr; static uint16_t buflen, bufptr;
static uint8_t hdrptr; static uint8_t hdrptr;