diff --git a/sys/net/routing/rpl/etx_beaconing.h b/sys/net/routing/rpl/etx_beaconing.h index 44c93bbda2..b21157a6ca 100644 --- a/sys/net/routing/rpl/etx_beaconing.h +++ b/sys/net/routing/rpl/etx_beaconing.h @@ -16,13 +16,13 @@ #include "debug.h" #if ENABLE_DEBUG -#define ETX_BEACON_STACKSIZE (4500) -#define ETX_RADIO_STACKSIZE (4500) -#define ETX_CLOCK_STACKSIZE (500) +#define ETX_BEACON_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_PRINTF_FLOAT) +#define ETX_RADIO_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_PRINTF_FLOAT) +#define ETX_CLOCK_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT) #else -#define ETX_BEACON_STACKSIZE (2500) //TODO optimize, maybe 2000 is enough -#define ETX_RADIO_STACKSIZE (2500) //TODO optimize, maybe 2000 is enough -#define ETX_CLOCK_STACKSIZE (500) //TODO optimize, maybe 250 is enough +#define ETX_BEACON_STACKSIZE (KERNEL_CONF_STACKSIZE_MAIN) +#define ETX_RADIO_STACKSIZE (KERNEL_CONF_STACKSIZE_MAIN) +#define ETX_CLOCK_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT) #endif //[option|length|ipaddr.|packetcount] with up to 15 ipaddr|packetcount pairs