From 935460c25ee41909833abd7ef97909290b12f04b Mon Sep 17 00:00:00 2001 From: simonduq Date: Tue, 3 Apr 2012 14:28:11 +0200 Subject: [PATCH] Fixed mbxxx's contiki-conf.h (bug reported by Konstantin Klubnichkin and Michal Krol) --- platform/mbxxx/contiki-conf.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/platform/mbxxx/contiki-conf.h b/platform/mbxxx/contiki-conf.h index e5aa9f3c7..90895a86b 100644 --- a/platform/mbxxx/contiki-conf.h +++ b/platform/mbxxx/contiki-conf.h @@ -129,11 +129,16 @@ #define UIP_CONF_MAX_LISTENPORTS 8 #define UIP_CONF_UDP_CONNS 4 -#include "net/sicslowpan.h" -#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_CONF_COMPRESSION_HC06 +#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06 +#ifndef SICSLOWPAN_CONF_FRAG #define SICSLOWPAN_CONF_FRAG 1 +#endif /* SICSLOWPAN_CONF_FRAG */ +#ifndef SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2 +#endif /* SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS */ +#ifndef SICSLOWPAN_CONF_MAXAGE #define SICSLOWPAN_CONF_MAXAGE 2 +#endif /* SICSLOWPAN_CONF_MAXAGE */ #else /* WITH_UIP6 */