mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
pulse chip fixed
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user