Skip to content
Snippets Groups Projects
Commit 9b5eedee authored by Christian Mehlis's avatar Christian Mehlis
Browse files

ccnl: use stacksize main for all threads

parent cebffb2c
No related branches found
No related tags found
No related merge requests found
...@@ -42,10 +42,10 @@ ...@@ -42,10 +42,10 @@
#define RIOT_CCN_APPSERVER (1) #define RIOT_CCN_APPSERVER (1)
#define RIOT_CCN_TESTS (0) #define RIOT_CCN_TESTS (0)
char relay_stack[KERNEL_CONF_STACKSIZE_MAIN]; char relay_stack[KERNEL_CONF_STACKSIZE_PRINTF];
#if RIOT_CCN_APPSERVER #if RIOT_CCN_APPSERVER
char appserver_stack[KERNEL_CONF_STACKSIZE_MAIN]; char appserver_stack[KERNEL_CONF_STACKSIZE_PRINTF];
#endif #endif
int relay_pid, appserver_pid; int relay_pid, appserver_pid;
......
...@@ -33,7 +33,7 @@ radio_packet_t p; ...@@ -33,7 +33,7 @@ radio_packet_t p;
transceiver_command_t tcmd; transceiver_command_t tcmd;
msg_t mesg, rep; 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) int riot_send_transceiver(uint8_t *buf, uint16_t size, uint16_t to)
{ {
...@@ -97,7 +97,7 @@ void ccnl_riot_relay_helper_start(void); ...@@ -97,7 +97,7 @@ void ccnl_riot_relay_helper_start(void);
int riot_start_helper_thread(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) char *riot_ccnl_event_to_string(int event)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment