mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-19 18:40:01 +02:00
Merge pull request #1157 from slsdetectorgroup/910/jf_timing_decoder_only_hw2.0
Some checks failed
CMake / Configure and build using cmake (push) Failing after 12s
Some checks failed
CMake / Configure and build using cmake (push) Failing after 12s
jf: get timing info decoder only for hw 2.0
This commit is contained in:
commit
34ce96ffa0
Binary file not shown.
@ -11090,11 +11090,18 @@ int get_timing_info_decoder(int file_des) {
|
|||||||
functionNotImplemented();
|
functionNotImplemented();
|
||||||
#else
|
#else
|
||||||
// get only
|
// get only
|
||||||
ret = getTimingInfoDecoder(&retval);
|
if (isHardwareVersion_1_0()) {
|
||||||
LOG(logDEBUG1, ("retval timing info decoder: %d\n", retval));
|
ret = FAIL;
|
||||||
if (ret == FAIL) {
|
sprintf(mess, "Could not get timing info decoder. Not supported "
|
||||||
strcpy(mess, "Could not get timing info decoder\n");
|
"for hardware version 1.0\n");
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
|
} else {
|
||||||
|
ret = getTimingInfoDecoder(&retval);
|
||||||
|
LOG(logDEBUG1, ("retval timing info decoder: %d\n", retval));
|
||||||
|
if (ret == FAIL) {
|
||||||
|
strcpy(mess, "Could not get timing info decoder\n");
|
||||||
|
LOG(logERROR, (mess));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return Server_SendResult(file_des, INT32, &retval, sizeof(retval));
|
return Server_SendResult(file_des, INT32, &retval, sizeof(retval));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user