mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-15 06:17:12 +02:00
changes
This commit is contained in:
@ -97,9 +97,6 @@ int init_detector(int b) {
|
||||
);
|
||||
|
||||
|
||||
defineGPIOpins();
|
||||
|
||||
|
||||
printf("Resetting PLL\n");
|
||||
resetPLL();
|
||||
bus_w16(CONTROL_REG, SYNC_RESET);
|
||||
@ -172,6 +169,7 @@ int init_detector(int b) {
|
||||
setDelay(0);
|
||||
setGates(0);
|
||||
|
||||
|
||||
setTiming(GET_EXTERNAL_COMMUNICATION_MODE);
|
||||
setMaster(GET_MASTER);
|
||||
setSynchronization(GET_SYNCHRONIZATION_MODE);
|
||||
@ -2461,6 +2459,7 @@ int send_update(int file_des) {
|
||||
retval=setExposureTime(tns);
|
||||
n = sendDataOnly(file_des,&retval,sizeof(int64_t));
|
||||
retval=setPeriod(tns);
|
||||
cprintf(RED,"updated frame period from %lld tns:%d\n", (long long int)retval, tns);
|
||||
n = sendDataOnly(file_des,&retval,sizeof(int64_t));
|
||||
retval=setDelay(tns);
|
||||
n = sendDataOnly(file_des,&retval,sizeof(int64_t));
|
||||
|
Reference in New Issue
Block a user