mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
55c3eb7c14
commit
2e2625e952
@ -64,7 +64,7 @@ void Pl011::_read()
|
||||
{
|
||||
if (!_terminal.avail()) return;
|
||||
|
||||
while (_terminal.avail()) {
|
||||
while (_terminal.avail() && _rx_buf.avail_capacity()) {
|
||||
unsigned char c = 0;
|
||||
_terminal.read(&c, 1);
|
||||
_rx_buf.add(c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user