small but important bugfix

This commit is contained in:
Robin Müller 2025-04-17 14:10:51 +02:00
parent c450e8423e
commit 71fa3c5820
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -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