even get is not supported for timing info decoder for jungfrau hw v1.0. only hw v2.0 is uspported

This commit is contained in:
maliakal_d 2025-03-18 12:29:25 +01:00
parent 77f20b4e97
commit d5fa26ef9a
2 changed files with 11 additions and 4 deletions

View File

@ -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));