diff --git a/ADOrcaApp/src/orca.cpp b/ADOrcaApp/src/orca.cpp index 443fd94db5c87f2a19159fdde4e58f67e06b13eb..b786218e322d5bbc29be35c7bc08c3f8730b6ae9 100644 --- a/ADOrcaApp/src/orca.cpp +++ b/ADOrcaApp/src/orca.cpp @@ -840,7 +840,7 @@ void Orca::imageTask() { double exposure_time, readout_time; double maxAcqusitionTime, acqusitionRate; int triggerMode = DCAMPROP_TRIGGERSOURCE__INTERNAL; - int triggerActive, triggerTimes; + int triggerActive; lock(); while (1) { @@ -994,9 +994,9 @@ void Orca::imageTask() { // getIntegerParam(hTriggerActive, &triggerActive); if (triggerActive == DCAMPROP_TRIGGERACTIVE__SYNCREADOUT) { - pass + } else if (triggerActive == DCAMPROP_TRIGGERACTIVE__LEVEL) { - pass + } else { // Checks if the elapsed time since last frame is longer than the exposure, // stop waiting for image and put in timeout status.