mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
re-added the scheduler callback (the actual call was missing)
This commit is contained in:
parent
7dbb97e376
commit
1709fa600c
@ -122,7 +122,11 @@ void sched_run()
|
||||
thread_pid = (volatile int) my_active_thread->pid;
|
||||
#if SCHEDSTATISTICS
|
||||
pidlist[my_active_thread->pid].laststart = time;
|
||||
pidlist[my_active_thread->pid].schedules ++;
|
||||
pidlist[my_active_thread->pid].schedules++;
|
||||
if ((sched_cb) && (my_active_thread->pid != last_pid)) {
|
||||
sched_cb(hwtimer_now(), my_active_thread->pid);
|
||||
last_pid = my_active_thread->pid;
|
||||
}
|
||||
#endif
|
||||
#ifdef MODULE_NSS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user