From 91579fbaab911ff0c04d878f8910b2d5fa2a71b6 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 20 Oct 2009 08:06:43 +0000 Subject: [PATCH] Removed debug strings to save ROM --- core/net/rime/packetbuf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/net/rime/packetbuf.c b/core/net/rime/packetbuf.c index 0997ebc86..2bcf78c37 100644 --- a/core/net/rime/packetbuf.c +++ b/core/net/rime/packetbuf.c @@ -33,7 +33,7 @@ * * 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_addr packetbuf_addrs[PACKETBUF_NUM_ADDRS]; +#define DEBUG_STRINGS 0 +#if DEBUG_STRINGS const char *packetbuf_attr_strings[] = { "PACKETBUF_ATTR_NONE", @@ -85,6 +87,7 @@ const char *packetbuf_attr_strings[] = "PACKETBUF_ATTR_MAX", }; +#endif /* DEBUG_STRINGS */ static uint16_t buflen, bufptr; static uint8_t hdrptr;