From 71fa3c58200340c214403aec536124a4ec6cd6d5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 17 Apr 2025 14:10:51 +0200 Subject: [PATCH] small but important bugfix --- vorago-shared-periphs/src/uart/tx_asynch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vorago-shared-periphs/src/uart/tx_asynch.rs b/vorago-shared-periphs/src/uart/tx_asynch.rs index 0144575..5234f76 100644 --- a/vorago-shared-periphs/src/uart/tx_asynch.rs +++ b/vorago-shared-periphs/src/uart/tx_asynch.rs @@ -70,7 +70,7 @@ pub fn on_interrupt_tx(bank: Bank) { return; } while context.progress < slice.len() { - if uart.read_tx_status().ready() { + if !uart.read_tx_status().ready() { break; } // Safety: TX structure is owned by the future which does not write into the the data