mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
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);
|
||||
|
||||
Reference in New Issue
Block a user