mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/openwsn/scheduler: fix debugpins ordering
This commit is contained in:
parent
6f6001900f
commit
0731fdbbaa
@ -61,14 +61,14 @@ void scheduler_start(unsigned state)
|
||||
/* wait for events */
|
||||
event_t *event;
|
||||
while ((event = event_wait_multi(_queues, TASKPRIO_MAX))) {
|
||||
debugpins_task_clr();
|
||||
debugpins_task_set();
|
||||
event->handler(event);
|
||||
/* remove from task list */
|
||||
memarray_free(&_scheduler_vars.memarray, event);
|
||||
#if SCHEDULER_DEBUG_ENABLE
|
||||
scheduler_dbg.numTasksCur--;
|
||||
#endif
|
||||
debugpins_task_set();
|
||||
debugpins_task_clr();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user