1
0
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:
Francisco Molina 2020-10-07 10:03:21 +02:00
parent 6f6001900f
commit 0731fdbbaa
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -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();
}
}