From 8e40a408c51f991dd350731af5765039fdfbb317 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 15 Sep 2021 11:10:02 +0200 Subject: [PATCH] check idle for jungfrau in flip rows --- .../slsDetectorServer/src/slsDetectorServer_funcs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c index 54fcbcf0a..5a6ca8c49 100644 --- a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c +++ b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c @@ -8858,8 +8858,7 @@ int set_flip_rows(int file_des) { #else // only set if (Server_VerifyLock() == OK) { - - if (arg != 0 && arg != 1) { + if ((check_detector_idle("set flip rows") == OK) && (arg != 0 && arg != 1)) { ret = FAIL; sprintf(mess, "Could not set flip rows. Invalid argument %d.\n",