mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
Revert "Revert "pulse chip fixed""
This reverts commit 356e6cb8cacec52ec6883e625a6b3639633f3b0e.
This commit is contained in:
@ -1777,13 +1777,13 @@ int Feb_Control_PulseChip(int npulses){
|
||||
cprintf(RED,"some wait error\n");
|
||||
}
|
||||
Feb_Control_SetExternalEnableMode(on,1);
|
||||
counter_bit = ~0;
|
||||
counter_bit = (on?0:1);
|
||||
printf("counter_bit:%d\n",counter_bit);
|
||||
|
||||
if(on)
|
||||
printf("Pulse chip success\n");
|
||||
printf("Pulse chip success\n\n");
|
||||
else
|
||||
printf("Reset to normal mode success\n");
|
||||
printf("Reset to normal mode success\n\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -172,7 +172,7 @@ int Feb_Control_GetModuleNumber();
|
||||
|
||||
//functions for testing
|
||||
/*int Feb_Control_SetTestModeVariable(int on=1);*/
|
||||
int Feb_Control_SetTestModeVariable(int on);
|
||||
int Feb_Control_SetInTestModeVariable(int on);
|
||||
int Feb_Control_GetTestModeVariable();
|
||||
|
||||
void Feb_Control_Set_Counter_Bit(int value);
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user