mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-03 03:10:04 +02:00
update test fix
This commit is contained in:
parent
44424bcbe3
commit
993ba5926e
@ -8682,8 +8682,16 @@ int get_flip_rows(int file_des) {
|
|||||||
functionNotImplemented();
|
functionNotImplemented();
|
||||||
#else
|
#else
|
||||||
// get only
|
// get only
|
||||||
|
// only for HW 2.0 (version = 3)
|
||||||
|
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();
|
retval = getFlipRows();
|
||||||
LOG(logDEBUG1, ("flip rows retval: %u\n", retval));
|
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