1
0
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:
Jan Mohr 2022-09-16 15:56:17 +02:00
parent 86f9d7953d
commit e0febd08e8

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