core/msg: re-enable IRQs before printing for highlevel_stdio #27220
Annotations
1 warning
static-tests:
core/msg.c#L524
Uncrustify proposes the following patch:
--- a/core/msg.c
+++ b/core/msg.c
@@ -518,7 +518,7 @@ void msg_queue_print(void)
int first_msg = cib_peek(msg_queue);
static msg_t msg_array[MSG_QUEUE_PRINT_MAX];
- memcpy(msg_array, thread->msg_array, sizeof(msg_t)*max);
+ memcpy(msg_array, thread->msg_array, sizeof(msg_t) * max);
irq_restore(state);
printf("Message queue of thread %" PRIkernel_pid "\n", thread->pid);
|