From fe895cd7820df3884dffbf61d0bdd7d48120c28f Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 4 Apr 2022 17:06:38 +0200 Subject: [PATCH] m3:bug fix: slaves shoudl always have trigger --- .../mythen3DetectorServer/slsDetectorFunctionList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c index 75b51de7b..58efca312 100644 --- a/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c @@ -1603,7 +1603,7 @@ void setTiming(enum timingMode arg) { int master = 0; isMaster(&master); - if (master && arg == AUTO_TIMING) + if (!master && arg == AUTO_TIMING) arg = TRIGGER_EXPOSURE; uint32_t addr = CONFIG_REG;