projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete header.
[bertos.git]
/
bertos
/
kern
/
idle.c
diff --git
a/bertos/kern/idle.c
b/bertos/kern/idle.c
index 2ea379c8c8c7bb0358b345339c23df4ae26ec210..ecbe5915ca48903a55cc8ac30081aefd1f0352e5 100644
(file)
--- a/
bertos/kern/idle.c
+++ b/
bertos/kern/idle.c
@@
-40,7
+40,7
@@
#include <cfg/module.h>
#include <cfg/module.h>
-static cpustack_t idle_stack[CONFIG_
PROC_DEF
STACKSIZE / sizeof(cpustack_t)];
+static cpustack_t idle_stack[CONFIG_
KERN_MIN
STACKSIZE / sizeof(cpustack_t)];
/**
* The idle process
/**
* The idle process
@@
-66,6
+66,6
@@
static NORETURN void idle(void)
void idle_init(void)
{
void idle_init(void)
{
- Process *idle_proc = proc_new(idle, NULL, sizeof(idle_stack), idle_stack);
+
struct
Process *idle_proc = proc_new(idle, NULL, sizeof(idle_stack), idle_stack);
proc_setPri(idle_proc, (int)~0);
}
proc_setPri(idle_proc, (int)~0);
}