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 579267a03411d188726ecc15cc14eb8f2c65f357..0a03ae6a0cc0374942c6e7cec4b728f88890cac4 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 {