mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/msg.c: irq was not restored properly
This commit is contained in:
parent
86f9d7953d
commit
e0febd08e8
@ -492,6 +492,7 @@ void msg_queue_print(void)
|
||||
|
||||
if (msg_counter < 1) {
|
||||
/* no msg queue */
|
||||
irq_restore(state);
|
||||
printf("No messages or no message queue\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user