changes from 4.2.0-rc: eiger check for max trimbits; end of eigerserver: if detector ip, set activate; update both control and stop server for activate

This commit is contained in:
2020-03-10 16:49:08 +01:00
parent 9467b4c610
commit dea8cba985
7 changed files with 27 additions and 4 deletions

View File

@ -2685,6 +2685,7 @@ int slsDetector::activate(int enable) {
int retval = -1;
FILE_LOG(logDEBUG1) << "Setting activate flag to " << enable;
sendToDetector(F_ACTIVATE, enable, retval);
sendToDetectorStop(F_ACTIVATE, enable, retval);
FILE_LOG(logDEBUG1) << "Activate: " << retval;
shm()->activated = static_cast<bool>(retval);
if (shm()->useReceiverFlag) {