This commit is contained in:
Dhanya Maliakal 2016-10-18 14:36:04 +02:00
parent a7e8ff1c42
commit 8502a7b79f

View File

@ -514,6 +514,8 @@ string multiSlsDetector::setHostname(const char* name, int pos){
cout << "-----------------------------set online!" << endl; cout << "-----------------------------set online!" << endl;
#endif #endif
setOnline(ONLINE_FLAG); setOnline(ONLINE_FLAG);
if(detectors[pos]->getErrorMask())
setErrorMask(getErrorMask()|(1<<pos));
return getHostname(pos); return getHostname(pos);
} }