sched: yes but what if i weren't stupid?
This commit is contained in:
parent
9b1eef8a64
commit
a658a7c8b3
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ void *sched_process_switch(void *curr_sp)
|
|||
nextpid++;
|
||||
nextpid %= CONFIG_SCHED_MAXTASK;
|
||||
tmp = _sched_tasktab[nextpid];
|
||||
if (tmp != NULL && sched_task_should_run(_sched_current_task)) {
|
||||
if (tmp != NULL && sched_task_should_run(tmp)) {
|
||||
_sched_current_task = tmp;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue