Make the UART not constantly flush output

This commit is contained in:
2025-12-21 15:45:32 +01:00
parent 0457530e0c
commit 25ecfca912

View File

@@ -64,7 +64,6 @@ impl BasicUart {
while let Some(byte) = bufs.tx.pop_front() { while let Some(byte) = bufs.tx.pop_front() {
print!("{}", byte as char); print!("{}", byte as char);
} }
stdout().flush().unwrap();
let mut buffer = [0u8; 1]; let mut buffer = [0u8; 1];
if let Ok(n) = stdin().read(&mut buffer) { if let Ok(n) = stdin().read(&mut buffer) {