diff --git a/examples/ccn-lite-client/main.c b/examples/ccn-lite-client/main.c index 62095e1419..ab6e19b544 100644 --- a/examples/ccn-lite-client/main.c +++ b/examples/ccn-lite-client/main.c @@ -42,10 +42,10 @@ #define RIOT_CCN_APPSERVER (1) #define RIOT_CCN_TESTS (0) -char relay_stack[KERNEL_CONF_STACKSIZE_MAIN]; +char relay_stack[KERNEL_CONF_STACKSIZE_PRINTF]; #if RIOT_CCN_APPSERVER -char appserver_stack[KERNEL_CONF_STACKSIZE_MAIN]; +char appserver_stack[KERNEL_CONF_STACKSIZE_PRINTF]; #endif int relay_pid, appserver_pid; diff --git a/sys/net/ccn_lite/ccnl-riot-compat.c b/sys/net/ccn_lite/ccnl-riot-compat.c index ffab2090fd..095fb2f80f 100644 --- a/sys/net/ccn_lite/ccnl-riot-compat.c +++ b/sys/net/ccn_lite/ccnl-riot-compat.c @@ -33,7 +33,7 @@ radio_packet_t p; transceiver_command_t tcmd; msg_t mesg, rep; -char relay_helper_stack[KERNEL_CONF_STACKSIZE_PRINTF]; +char relay_helper_stack[KERNEL_CONF_STACKSIZE_MAIN]; int riot_send_transceiver(uint8_t *buf, uint16_t size, uint16_t to) { @@ -97,7 +97,7 @@ void ccnl_riot_relay_helper_start(void); int riot_start_helper_thread(void) { - return thread_create(relay_helper_stack, KERNEL_CONF_STACKSIZE_PRINTF, PRIORITY_MAIN - 2, CREATE_STACKTEST, ccnl_riot_relay_helper_start, "relay-helper"); + return thread_create(relay_helper_stack, KERNEL_CONF_STACKSIZE_MAIN, PRIORITY_MAIN - 2, CREATE_STACKTEST, ccnl_riot_relay_helper_start, "relay-helper"); } char *riot_ccnl_event_to_string(int event)