From a6939573ce7061d042428287233502d8c0328c1c Mon Sep 17 00:00:00 2001 From: Erik Hallnor Date: Wed, 14 Jul 2004 21:34:51 -0400 Subject: [PATCH] Fix serialization when a tx interrupt isn't scheduled dev/uart.cc: Fix serialization when a tx interrupt isn't scheduled. --HG-- extra : convert_revision : 3029e284cbba417e3f453d83fdf2ef307d684916 --- dev/uart.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2