mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
fix
This commit is contained in:
parent
5c42792580
commit
ae88af2a72
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -7338,15 +7338,15 @@ int set_veto(int file_des) {
|
|||||||
int set_pattern(int file_des) {
|
int set_pattern(int file_des) {
|
||||||
ret = OK;
|
ret = OK;
|
||||||
memset(mess, 0, sizeof(mess));
|
memset(mess, 0, sizeof(mess));
|
||||||
uint64_t patwords[MAX_PATTERN_LENGTH];
|
uint64_t* patwords = malloc(sizeof(uint64_t) * MAX_PATTERN_LENGTH);
|
||||||
memset(patwords, 0, sizeof(patwords));
|
memset(patwords, 0, sizeof(uint64_t) * MAX_PATTERN_LENGTH);
|
||||||
uint64_t patioctrl = 0;
|
uint64_t patioctrl = 0;
|
||||||
int patlimits[2] = {0, 0};
|
int patlimits[2] = {0, 0};
|
||||||
int patloop[6] = {0, 0, 0, 0, 0, 0};
|
int patloop[6] = {0, 0, 0, 0, 0, 0};
|
||||||
int patnloop[3] = {0, 0, 0};
|
int patnloop[3] = {0, 0, 0};
|
||||||
int patwait[3] = {0, 0, 0};
|
int patwait[3] = {0, 0, 0};
|
||||||
uint64_t patwaittime[3] = {0, 0, 0};
|
uint64_t patwaittime[3] = {0, 0, 0};
|
||||||
if (receiveData(file_des, patwords, sizeof(patwords), INT64) < 0)
|
if (receiveData(file_des, patwords, sizeof(uint64_t) * MAX_PATTERN_LENGTH, INT64) < 0)
|
||||||
return printSocketReadError();
|
return printSocketReadError();
|
||||||
if (receiveData(file_des, &patioctrl, sizeof(patioctrl), INT64) < 0)
|
if (receiveData(file_des, &patioctrl, sizeof(patioctrl), INT64) < 0)
|
||||||
return printSocketReadError();
|
return printSocketReadError();
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
#define APILIB 0x200409
|
#define APILIB 0x200409
|
||||||
#define APIRECEIVER 0x200409
|
#define APIRECEIVER 0x200409
|
||||||
#define APIGUI 0x200409
|
#define APIGUI 0x200409
|
||||||
|
#define APIEIGER 0x200623
|
||||||
#define APICTB 0x200623
|
#define APICTB 0x200623
|
||||||
#define APIGOTTHARD 0x200623
|
#define APIGOTTHARD 0x200623
|
||||||
#define APIGOTTHARD2 0x200623
|
#define APIGOTTHARD2 0x200623
|
||||||
#define APIJUNGFRAU 0x200623
|
#define APIJUNGFRAU 0x200623
|
||||||
#define APIMYTHEN3 0x200623
|
#define APIMYTHEN3 0x200623
|
||||||
#define APIMOENCH 0x200623
|
#define APIMOENCH 0x200623
|
||||||
#define APIEIGER 0x200623
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user