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:
parent
1a8967cb45
commit
c7e793dca7
@ -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)
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user