X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc.c;h=8692c170840fba17fad60965366d9556d7136715;hb=7aba26c4dd422016f6c27db30f6eaa686b87fd7e;hp=3f2548923dbc1527660cdf3138a091c285f00aee;hpb=6a60d159530b29a6f60edbad42d0e31c1f1994d9;p=bertos.git diff --git a/bertos/kern/proc.c b/bertos/kern/proc.c index 3f254892..8692c170 100644 --- a/bertos/kern/proc.c +++ b/bertos/kern/proc.c @@ -90,7 +90,7 @@ static void proc_init_struct(Process *proc) proc->sig_recv = 0; #endif -#if CONFIG_KERN_PREEMPTIVE +#if CONFIG_KERN_PREEMPT proc->forbid_cnt = 0; #endif @@ -118,7 +118,7 @@ void proc_init(void) monitor_add(CurrentProcess, "main"); #endif -#if CONFIG_KERN_PREEMPTIVE +#if CONFIG_KERN_PREEMPT preempt_init(); #endif