summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/uart.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/uart.cc b/dev/uart.cc
index 8ba59579d..fca856d5d 100644
--- a/dev/uart.cc
+++ b/dev/uart.cc
@@ -395,7 +395,7 @@ Uart::serialize(ostream &os)
if (txIntrEvent.scheduled())
txintrwhen = txIntrEvent.when();
else
- rxintrwhen = 0;
+ txintrwhen = 0;
SERIALIZE_SCALAR(rxintrwhen);
SERIALIZE_SCALAR(txintrwhen);
#endif