changes for external gui

This commit is contained in:
Dhanya Maliakal
2017-08-23 16:31:32 +02:00
parent 2116070f02
commit f4e2b819d2
2 changed files with 5 additions and 3 deletions

View File

@@ -4540,7 +4540,7 @@ int64_t slsDetector::setTimer(timerIndex index, int64_t t){
if (connectData() == OK){
ret=thisReceiver->sendIntArray(fnum2,retval,args,mess);
disconnectData();
}
}else cprintf(RED,"could not connect\n");
if((args[1] != retval)|| (ret==FAIL)){
ret = FAIL;
cout << "ERROR: " << timername << " in receiver set incorrectly to " << retval << " instead of " << args[1] << endl;