mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
ccnl: use stacksize main for all threads
This commit is contained in:
parent
cebffb2ccf
commit
9b5eedeea8
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user