From 984692ad95df27753464fa920d57b658b62df14b Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Tue, 18 Dec 2018 08:28:53 +0000 Subject: [PATCH] bugfix --- acia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acia.cpp b/acia.cpp index 2e80462..2fbc932 100644 --- a/acia.cpp +++ b/acia.cpp @@ -45,5 +45,5 @@ acia::operator uint8_t() { if (_acc & 1) return _device->read(); - return _device->more()? rdrf | tdre: 0; + return _device->more()? rdrf | tdre: tdre; }