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