diff --git a/core/msg.c b/core/msg.c index 6921626c4d..cc4b2e82b6 100644 --- a/core/msg.c +++ b/core/msg.c @@ -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; }