mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
in betwee, fixed eiger server error
This commit is contained in:
parent
a6e520d969
commit
338fb2af35
@ -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
|
//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) ||
|
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_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");
|
cprintf(RED,"Warning: Could not set static bits\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user