ccnl: use stacksize main for all threads

This commit is contained in:
Christian Mehlis 2014-07-06 17:00:08 +02:00
parent cebffb2ccf
commit 9b5eedeea8
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);
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)