From e9a822defa50c237d25985c25c4534e3274d8a79 Mon Sep 17 00:00:00 2001 From: Brendan Fletcher Date: Sun, 22 Sep 2024 02:25:41 -0400 Subject: [PATCH] Are you kidding? (use correct usart index) --- core/arm/arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/arm/arm.c b/core/arm/arm.c index 2ac5070e..4cb56f62 100644 --- a/core/arm/arm.c +++ b/core/arm/arm.c @@ -35,7 +35,7 @@ static int arm_thrd(void *context) { } if (unlikely(spsc_queue_flush(&arm->usart[1]) && arm_mem_usart_send(arm, 3, &val))) { - bool success = spsc_queue_enqueue(&arm->usart[0], val); + bool success = spsc_queue_enqueue(&arm->usart[1], val); (void)success; assert(success && "Already successfully flushed, so can't fail"); }