X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fidle.c;h=3aa4bb0400651585dcbd308ad0ff1c6a80b7285d;hb=71743c2a5a8bf9dbf66a945fd9656baed0d16329;hp=116328ecf7fd54452e9b6c4a2a03ee63f425de34;hpb=7c7aee2a95be7ee8b1c9f4b011a1274524bb664e;p=bertos.git diff --git a/bertos/kern/idle.c b/bertos/kern/idle.c index 116328ec..3aa4bb04 100644 --- a/bertos/kern/idle.c +++ b/bertos/kern/idle.c @@ -35,12 +35,13 @@ * \author Bernie Innocenti */ +#include "idle.h" #include "proc.h" #include -static cpustack_t idle_stack[CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)]; +static cpu_stack_t idle_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)]; /** * The idle process