Skip to content

Commit d7d3dfb

Browse files
committed
Enable SIU loopback mode for CRORC
1 parent 2a35968 commit d7d3dfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Crorc/Crorc.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ StWord Crorc::ddlReadSiu(int transid, long long int time)
497497
<< ErrorInfo::StwReceived((b::format("0x%08lx") % stw.stw).str()));
498498
}
499499

500+
StWord ret = stw;
500501
stw = ddlReadStatus();
501502
if ((stw.part.code != Rorc::CTSTW && stw.part.code != Rorc::ILCMD && stw.part.code != Rorc::CTSTW_TO)
502503
|| stw.part.trid != transid || stw.part.dest != destination) {
@@ -505,7 +506,7 @@ StWord Crorc::ddlReadSiu(int transid, long long int time)
505506
<< ErrorInfo::StwExpected((b::format("0x00000%x%x%x") % transid % Rorc::CTSTW % destination).str())
506507
<< ErrorInfo::StwReceived((b::format("0x%08lx") % stw.stw).str()));
507508
}
508-
return stw;
509+
return ret;
509510
}
510511

511512
/// Interpret DIU or SIU IFSTW to user readable messages

0 commit comments

Comments
 (0)