do not complain when setting timers

This commit is contained in:
Dhanya Maliakal 2017-08-16 16:26:57 +02:00
parent c724756b5f
commit e8217b0867

View File

@ -977,23 +977,15 @@ int slsReceiverTCPIPInterface::set_timer() {
if (index[1] >= 0) {
if (mySock->differentClients && lockStatus)
receiverlocked();
else if (receiverBase->getStatus() != IDLE)
receiverNotIdle();
// else if (receiverBase->getStatus() != IDLE)
// receiverNotIdle();
else {
switch (index[0]) {
case ACQUISITION_TIME:
ret = receiverBase->setAcquisitionTime(index[1]);
if (ret == FAIL) {
strcpy(mess,"Could not allocate memory for listening fifo\n");
FILE_LOG(logERROR) << "Warning: " << mess;
}
break;
case FRAME_PERIOD:
ret = receiverBase->setAcquisitionPeriod(index[1]);
if (ret == FAIL) {
strcpy(mess,"Could not allocate memory for listening fifo\n");
FILE_LOG(logERROR) << "Warning: " << mess;
}
break;
case FRAME_NUMBER:
case CYCLES_NUMBER: