Skip to content
Snippets Groups Projects
Commit 82b2362b authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

core/msg: add assert for problem identified in #10881

parent 62bb4cc5
Branches
No related tags found
No related merge requests found
...@@ -330,6 +330,7 @@ static int _msg_receive(msg_t *m, int block) ...@@ -330,6 +330,7 @@ static int _msg_receive(msg_t *m, int block)
thread_yield_higher(); thread_yield_higher();
/* sender copied message */ /* sender copied message */
assert(sched_active_thread->status != STATUS_RECEIVE_BLOCKED);
} }
else { else {
irq_restore(state); irq_restore(state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment