Fix compiling issues.
[bertos.git] / bertos / kern / idle.c
index ecbe5915ca48903a55cc8ac30081aefd1f0352e5..810560a1a790f6d4a5ed96ff80f66b7354a57d8f 100644 (file)
  *
  * \brief Idle loop for preemptive scheduling
  *
- * \version $Id: proc.c 1616 2008-08-10 19:41:26Z bernie $
+ * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
+#include "idle.h"
 #include "proc.h"
 
 #include <cfg/module.h>
 
 
-static cpustack_t idle_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpustack_t)];
+// below there's a TRACE so we need a big stack
+PROC_DEFINE_STACK(idle_stack, KERN_MINSTACKSIZE * 2);
 
 /**
  * The idle process