mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 19:00:05 +02:00
update test fix
This commit is contained in:
parent
44424bcbe3
commit
993ba5926e
@ -4663,12 +4663,12 @@ int set_read_n_rows(int file_des) {
|
|||||||
"of %d\n",
|
"of %d\n",
|
||||||
arg, READ_N_ROWS_MULTIPLE);
|
arg, READ_N_ROWS_MULTIPLE);
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
}
|
}
|
||||||
// only for HW 2.0 (version = 3)
|
// only for HW 2.0 (version = 3)
|
||||||
else if (isHardwareVersion2()) {
|
else if (isHardwareVersion2()) {
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
strcpy(mess, "Could not set number of rows. Only available for "
|
strcpy(mess, "Could not set number of rows. Only available for "
|
||||||
"Hardware Board version 2.0.\n");
|
"Hardware Board version 2.0.\n");
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
@ -8682,8 +8682,16 @@ int get_flip_rows(int file_des) {
|
|||||||
functionNotImplemented();
|
functionNotImplemented();
|
||||||
#else
|
#else
|
||||||
// get only
|
// get only
|
||||||
retval = getFlipRows();
|
// only for HW 2.0 (version = 3)
|
||||||
LOG(logDEBUG1, ("flip rows retval: %u\n", retval));
|
if (isHardwareVersion2()) {
|
||||||
|
ret = FAIL;
|
||||||
|
strcpy(mess, "Could not set flip rows. Only available for "
|
||||||
|
"Hardware Board version 2.0.\n");
|
||||||
|
LOG(logERROR, (mess));
|
||||||
|
} else {
|
||||||
|
retval = getFlipRows();
|
||||||
|
LOG(logDEBUG1, ("flip rows retval: %u\n", retval));
|
||||||
|
}
|
||||||
#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