mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 07:20:01 +02:00
Merge pull request #210 from slsdetectorgroup/bugfcloseserver
Bugfcloseserver
This commit is contained in:
commit
07cc28f91b
Binary file not shown.
@ -1766,6 +1766,7 @@ int checkDetectorType() {
|
|||||||
char buffer[MAX_STR_LENGTH];
|
char buffer[MAX_STR_LENGTH];
|
||||||
memset(buffer, 0, sizeof(buffer));
|
memset(buffer, 0, sizeof(buffer));
|
||||||
fread(buffer, MAX_STR_LENGTH, sizeof(char), fd);
|
fread(buffer, MAX_STR_LENGTH, sizeof(char), fd);
|
||||||
|
fclose(fd);
|
||||||
if (strlen(buffer) == 0) {
|
if (strlen(buffer) == 0) {
|
||||||
LOG(logERROR,
|
LOG(logERROR,
|
||||||
("Could not read file %s to get type of the module attached\n",
|
("Could not read file %s to get type of the module attached\n",
|
||||||
|
Binary file not shown.
@ -1976,6 +1976,7 @@ int checkDetectorType() {
|
|||||||
char buffer[MAX_STR_LENGTH];
|
char buffer[MAX_STR_LENGTH];
|
||||||
memset(buffer, 0, sizeof(buffer));
|
memset(buffer, 0, sizeof(buffer));
|
||||||
fread(buffer, MAX_STR_LENGTH, sizeof(char), fd);
|
fread(buffer, MAX_STR_LENGTH, sizeof(char), fd);
|
||||||
|
fclose(fd);
|
||||||
if (strlen(buffer) == 0) {
|
if (strlen(buffer) == 0) {
|
||||||
LOG(logERROR,
|
LOG(logERROR,
|
||||||
("Could not read file %s to get type of the module attached\n",
|
("Could not read file %s to get type of the module attached\n",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#define APIEIGER 0x201009
|
#define APIEIGER 0x201009
|
||||||
#define APICTB 0x201016
|
#define APICTB 0x201016
|
||||||
#define APIGOTTHARD 0x201016
|
#define APIGOTTHARD 0x201016
|
||||||
#define APIGOTTHARD2 0x201016
|
|
||||||
#define APIJUNGFRAU 0x201016
|
#define APIJUNGFRAU 0x201016
|
||||||
#define APIMOENCH 0x201013
|
#define APIMOENCH 0x201013
|
||||||
#define APIMYTHEN3 0x201026
|
#define APIMYTHEN3 0x201027
|
||||||
|
#define APIGOTTHARD2 0x201027
|
||||||
|
Loading…
x
Reference in New Issue
Block a user