mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
get id small change
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@622 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
af22e53a16
commit
5a2018fc6f
@ -812,7 +812,7 @@ int get_id(int file_des) {
|
||||
|
||||
#ifdef VERBOSE
|
||||
printf("Getting id %d\n", arg);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
switch (arg) {
|
||||
case MODULE_SERIAL_NUMBER:
|
||||
@ -826,12 +826,13 @@ int get_id(int file_des) {
|
||||
if (ret==OK) {
|
||||
#ifdef VERBOSE
|
||||
printf("of module %d\n", imod);
|
||||
#endif
|
||||
#endif
|
||||
if (imod>=0 && imod<getTotalNumberOfModules())
|
||||
retval=getModuleId(arg, imod);
|
||||
else {
|
||||
ret=FAIL;
|
||||
sprintf(mess,"Module number %d out of range\n", imod);
|
||||
printf("%s\n",mess);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@ -851,8 +852,9 @@ int get_id(int file_des) {
|
||||
}
|
||||
|
||||
#ifdef VERBOSE
|
||||
printf("ret is %d\n",ret);
|
||||
printf("Id is %llx\n", retval);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (differentClients==1)
|
||||
ret=FORCE_UPDATE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user