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 3c2f149c22
commit 7b531059a0
3 changed files with 12 additions and 5 deletions

View File

@ -10891,11 +10891,18 @@ int get_timing_info_decoder(int file_des) {
functionNotImplemented();
#else
// get only
ret = getTimingInfoDecoder(&retval);
LOG(logDEBUG1, ("retval timing info decoder: %d\n", retval));
if (ret == FAIL) {
strcpy(mess, "Could not get timing info decoder\n");
if (isHardwareVersion_1_0()) {
ret = FAIL;
sprintf(mess, "Could not get timing info decoder. Not supported "
"for hardware version 1.0\n");
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
return Server_SendResult(file_des, INT32, &retval, sizeof(retval));

View File

@ -8,5 +8,5 @@
#define APIMYTHEN3 "developer 0x250310"
#define APIMOENCH "developer 0x250310"
#define APIEIGER "developer 0x250310"
#define APIJUNGFRAU "developer 0x250311"
#define APIXILINXCTB "developer 0x250311"
#define APIJUNGFRAU "developer 0x250318"