From 591bbca85dbe2a0a810235bd971a499f5a045d5f Mon Sep 17 00:00:00 2001 From: Mark Rivers Date: Thu, 5 Dec 2019 09:28:47 -0600 Subject: [PATCH] Fixed bug with ADShutterMode; setupShutter was not being called when ADShutterMode changed --- andorApp/src/andorCCD.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/andorApp/src/andorCCD.cpp b/andorApp/src/andorCCD.cpp index 660a7b9..7efb253 100755 --- a/andorApp/src/andorCCD.cpp +++ b/andorApp/src/andorCCD.cpp @@ -38,7 +38,7 @@ #include "andorCCD.h" #define DRIVER_VERSION 2 -#define DRIVER_REVISION 8 +#define DRIVER_REVISION 9 #define DRIVER_MODIFICATION 0 static const char *driverName = "andorCCD"; @@ -705,7 +705,8 @@ asynStatus AndorCCD::writeInt32(asynUser *pasynUser, epicsInt32 value) else if (function == ADShutterControl) { status = setupShutter(value); } - else if ((function == AndorShutterMode) || + else if ((function == ADShutterMode) || + (function == AndorShutterMode) || (function == AndorShutterExTTL)) { status = setupShutter(-1); }