mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-19 19:00:41 +02:00
mythen3: bug fix detector type
This commit is contained in:
parent
66b837eb59
commit
3c891495db
Binary file not shown.
@ -1067,7 +1067,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 Mythen, got %d\n", TYPE_MYTHEN3_MODULE_VAL, type));
|
||||
return -2;
|
||||
}
|
||||
|
@ -9,4 +9,4 @@
|
||||
#define APIJUNGFRAU 0x191127
|
||||
#define APICTB 0x191210
|
||||
#define APIEIGER 0x200110
|
||||
#define APIMYTHEN3 0x200114
|
||||
#define APIMYTHEN3 0x200120
|
||||
|
Loading…
x
Reference in New Issue
Block a user