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 */
|
/* wait for events */
|
||||||
event_t *event;
|
event_t *event;
|
||||||
while ((event = event_wait_multi(_queues, TASKPRIO_MAX))) {
|
while ((event = event_wait_multi(_queues, TASKPRIO_MAX))) {
|
||||||
debugpins_task_clr();
|
debugpins_task_set();
|
||||||
event->handler(event);
|
event->handler(event);
|
||||||
/* remove from task list */
|
/* remove from task list */
|
||||||
memarray_free(&_scheduler_vars.memarray, event);
|
memarray_free(&_scheduler_vars.memarray, event);
|
||||||
#if SCHEDULER_DEBUG_ENABLE
|
#if SCHEDULER_DEBUG_ENABLE
|
||||||
scheduler_dbg.numTasksCur--;
|
scheduler_dbg.numTasksCur--;
|
||||||
#endif
|
#endif
|
||||||
debugpins_task_set();
|
debugpins_task_clr();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user