mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
gotthard2 bug fix vetophoton server client api
This commit is contained in:
parent
59e12bbed8
commit
e7ecb38b29
@ -6495,8 +6495,8 @@ int get_veto_photon(int file_des) {
|
|||||||
if (ret != FAIL) {
|
if (ret != FAIL) {
|
||||||
int nch = NCHAN;
|
int nch = NCHAN;
|
||||||
sendData(file_des, &nch, sizeof(nch), INT32);
|
sendData(file_des, &nch, sizeof(nch), INT32);
|
||||||
sendData(file_des, gainRetvals, sizeof(gainRetvals), INT32);
|
sendData(file_des, gainRetvals, sizeof(int) * NCHAN, INT32);
|
||||||
sendData(file_des, retvals, sizeof(retvals), INT32);
|
sendData(file_des, retvals, sizeof(int) * NCHAN, INT32);
|
||||||
}
|
}
|
||||||
if (retvals != NULL) {
|
if (retvals != NULL) {
|
||||||
free(retvals);
|
free(retvals);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user