mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
Merge branch 'refactor' of github.com:slsdetectorgroup/slsDetectorPackage into refactor
This commit is contained in:
commit
40d15264c5
@ -4397,7 +4397,7 @@ std::string slsDetectorCommand::cmdTimeLeft(int narg, char *args[], int action,
|
||||
ret = myDet->getTimeLeft(index, detPos);
|
||||
|
||||
if ((ret != -1) && (index == ACQUISITION_TIME || index == FRAME_PERIOD || index == DELAY_AFTER_TRIGGER || index == ACTUAL_TIME || index == MEASUREMENT_TIME ||
|
||||
MEASURED_PERIOD || MEASURED_SUBPERIOD))
|
||||
index == MEASURED_PERIOD || index == MEASURED_SUBPERIOD))
|
||||
rval = (double)ret * 1E-9;
|
||||
else
|
||||
rval = ret;
|
||||
|
@ -421,7 +421,7 @@ int slsReceiverTCPIPInterface::set_port() {
|
||||
try {
|
||||
mySocket = new MySocketTCP(p_number);
|
||||
strcpy(mySock->lastClientIP,oldLastClientIP);
|
||||
} catch(SamePortSocketException e) {
|
||||
} catch(SamePortSocketException &e) {
|
||||
ret = FAIL;
|
||||
sprintf(mess, "Could not bind port %d. It is already set\n", p_number);
|
||||
FILE_LOG(logERROR) << mess;
|
||||
|
Loading…
x
Reference in New Issue
Block a user