mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-13 16:40:02 +01:00
gotthard2 bug fix: no module attached
This commit is contained in:
@@ -1193,7 +1193,7 @@ int checkDetectorType() {
|
||||
return -1;
|
||||
}
|
||||
int type = atoi(buffer);
|
||||
if (type > TYPE_TOLERANCE) {
|
||||
if (type > TYPE_NO_MODULE_STARTING_VAL) {
|
||||
FILE_LOG(logERROR, ("No Module attached! Expected %d for Gotthard2, got %d\n", TYPE_GOTTHARD2_MODULE_VAL, type));
|
||||
return -2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user