mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
Fix gotthard delay (#606)
* fix for set delay for gotthard1 (verification adds master delay even if its not master) * binaries in * binaries name
This commit is contained in:
Binary file not shown.
@ -1007,7 +1007,9 @@ int setDelayAfterTrigger(int64_t val) {
|
||||
// validate for tolerance
|
||||
int64_t retval = getDelayAfterTrigger();
|
||||
val /= (1E-9 * CLK_FREQ);
|
||||
val -= masterdefaultdelay;
|
||||
if (master) {
|
||||
val -= masterdefaultdelay;
|
||||
}
|
||||
if (val != retval) {
|
||||
return FAIL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user