From ee897418dc898716a4c5480f5ed983f4d284a858 Mon Sep 17 00:00:00 2001 From: wierenga <sdos@astron.nl> Date: Fri, 17 Nov 2006 11:45:49 +0000 Subject: [PATCH] BugID: 972 Set correct initial register state. --- .../include/APL/RSP_Protocol/AllRegisterState.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MAC/APL/PIC/RSP_Protocol/include/APL/RSP_Protocol/AllRegisterState.h b/MAC/APL/PIC/RSP_Protocol/include/APL/RSP_Protocol/AllRegisterState.h index 579267a0341..0a03ae6a0cc 100644 --- a/MAC/APL/PIC/RSP_Protocol/include/APL/RSP_Protocol/AllRegisterState.h +++ b/MAC/APL/PIC/RSP_Protocol/include/APL/RSP_Protocol/AllRegisterState.h @@ -131,7 +131,7 @@ namespace LOFAR { tdread_state.check(); rad_state.write(); ts_state.write(); - tdstatuswrite_state.read(); + tdstatuswrite_state.write(); tdstatusread_state.read(); } @@ -154,7 +154,7 @@ namespace LOFAR { tdread_state.check(); rad_state.check(); ts_state.write(); // always write timestamp - tdstatuswrite_state.read(); + tdstatuswrite_state.write(); tdstatusread_state.read(); } @@ -177,8 +177,8 @@ namespace LOFAR { tdread_state.clear(); rad_state.clear(); ts_state.clear(); - tdstatuswrite_state.read(); - tdstatusread_state.read(); + tdstatuswrite_state.clear(); + tdstatusread_state.clear(); } void print(std::ostream& out) const { -- GitLab