1
0
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:
Kaspar Schleiser 2022-09-17 03:45:39 +02:00 committed by GitHub
commit c2a1afa12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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