mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-03 03:10:04 +02:00
gotthard2 bug fix: no module attached
This commit is contained in:
parent
6cfd0f8962
commit
23dffa47df
@ -1193,7 +1193,7 @@ int checkDetectorType() {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
int type = atoi(buffer);
|
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));
|
FILE_LOG(logERROR, ("No Module attached! Expected %d for Gotthard2, got %d\n", TYPE_GOTTHARD2_MODULE_VAL, type));
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user