1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

test: remove superfluous stack size defines

This commit is contained in:
Ludwig Ortmann 2014-07-09 07:16:02 +02:00
parent 1a8967cb45
commit c7e793dca7
2 changed files with 2 additions and 5 deletions

View File

@ -23,9 +23,7 @@
#include <flags.h>
#include <kernel.h>
#define STACK_SIZE (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_MAIN)
char t2_stack[STACK_SIZE];
char t2_stack[KERNEL_CONF_STACKSIZE_MAIN];
void second_thread(void)
{

View File

@ -25,7 +25,6 @@
#include <kernel.h>
#include <mutex.h>
#define STACK_SIZE (KERNEL_CONF_STACKSIZE_MAIN)
#define PROBLEM 12
mutex_t mtx;
@ -33,7 +32,7 @@ mutex_t mtx;
volatile int storage = 1;
int main_id;
int ths[PROBLEM];
char stacks[PROBLEM][STACK_SIZE];
char stacks[PROBLEM][KERNEL_CONF_STACKSIZE_MAIN];
void run(void)
{