small but important bugfix
This commit is contained in:
parent
c450e8423e
commit
71fa3c5820
@ -70,7 +70,7 @@ pub fn on_interrupt_tx(bank: Bank) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while context.progress < slice.len() {
|
while context.progress < slice.len() {
|
||||||
if uart.read_tx_status().ready() {
|
if !uart.read_tx_status().ready() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Safety: TX structure is owned by the future which does not write into the the data
|
// Safety: TX structure is owned by the future which does not write into the the data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user