Skip to content

Commit 6a93aee

Browse files
committed
Are you kidding? (use correct usart index)
1 parent a1c2d50 commit 6a93aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/arm/arm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static int arm_thrd(void *context) {
3535
}
3636
if (unlikely(spsc_queue_flush(&arm->usart[1]) &&
3737
arm_mem_usart_send(arm, 3, &val))) {
38-
bool success = spsc_queue_enqueue(&arm->usart[0], val);
38+
bool success = spsc_queue_enqueue(&arm->usart[1], val);
3939
(void)success;
4040
assert(success && "Already successfully flushed, so can't fail");
4141
}

0 commit comments

Comments
 (0)