From 338fb2af35ad11dda8b13fffd1df74e5a8655d27 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 12 Oct 2017 11:38:26 +0200 Subject: [PATCH] in betwee, fixed eiger server error --- slsDetectorSoftware/eigerDetectorServer/FebControl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/eigerDetectorServer/FebControl.c b/slsDetectorSoftware/eigerDetectorServer/FebControl.c index 633f4d5d0..dbb4ebad0 100644 --- a/slsDetectorSoftware/eigerDetectorServer/FebControl.c +++ b/slsDetectorSoftware/eigerDetectorServer/FebControl.c @@ -1199,7 +1199,7 @@ int Feb_Control_SetStaticBits(){ //program=1,m4=2,m8=4,test=8,rotest=16,cs_bar_left=32,cs_bar_right=64 if(!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(),DAQ_REG_STATIC_BITS,Feb_Control_staticBits,0,0) || !Feb_Control_SetCommandRegister(DAQ_SET_STATIC_BIT) || - (Feb_Control_StartDAQOnlyNWaitForFinish(5000) != STATIC_IDLE)){ + (Feb_Control_StartDAQOnlyNWaitForFinish(5000) != STATUS_IDLE)){ cprintf(RED,"Warning: Could not set static bits\n"); return 0; }