diff options
Diffstat (limited to 'dev/tsunami_uart.hh')
-rw-r--r-- | dev/tsunami_uart.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/tsunami_uart.hh b/dev/tsunami_uart.hh index a1bd7006d..f32b1ff4c 100644 --- a/dev/tsunami_uart.hh +++ b/dev/tsunami_uart.hh @@ -45,7 +45,8 @@ class TsunamiUart : public MmapDevice protected: SimConsole *cons; int status_store; - int next_char; + uint8_t next_char; + bool valid_char; public: TsunamiUart(const std::string &name, SimConsole *c, |