eiger server binaries

This commit is contained in:
maliakal_d 2022-02-28 14:56:40 +01:00
parent 261ac78743
commit dd8aebb0ab
9 changed files with 12 additions and 12 deletions

View File

@ -457,10 +457,10 @@ int getModuleConfiguration(int *m, int *t, int *n) {
*t = top; *t = top;
*n = normal; *n = normal;
#else #else
if (Beb_GetModuleConfiguration(&m, &t, &n) == FAIL) { if (Beb_GetModuleConfiguration(m, t, n) == FAIL) {
initError = FAIL; initError = FAIL;
strcpy(initErrorMessage, ("Could not get module configuration\n")); strcpy(initErrorMessage, ("Could not get module configuration\n"));
LOG(logERROR, (mess)); LOG(logERROR, (initErrorMessage));
return FAIL; return FAIL;
} }
#endif #endif
@ -1512,7 +1512,7 @@ int setMaster(enum MASTERINDEX m) {
sharedMemory_unlockLocalLink(); sharedMemory_unlockLocalLink();
// get and update master variable // get and update master variable
if (isMaster(master) == FAIL) { if (isMaster(&master) == FAIL) {
return FAIL; return FAIL;
} }
@ -1563,14 +1563,14 @@ int setTop(enum TOPINDEX t) {
} }
sharedMemory_lockLocalLink(); sharedMemory_lockLocalLink();
if (!Feb_Control_SetTop(t)) { if (!Feb_Control_SetTop(t, 1, 1)) {
sharedMemory_unlockLocalLink(); sharedMemory_unlockLocalLink();
return FAIL; return FAIL;
} }
sharedMemory_unlockLocalLink(); sharedMemory_unlockLocalLink();
// get and update top variable // get and update top variable
if (isTop(top) == FAIL) { if (isTop(&top) == FAIL) {
return FAIL; return FAIL;
} }

View File

@ -6,10 +6,10 @@
#define APIRECEIVER 0x211124 #define APIRECEIVER 0x211124
#define APIGUI 0x211124 #define APIGUI 0x211124
#define APICTB 0x220223 #define APICTB 0x220228
#define APIGOTTHARD 0x220223 #define APIGOTTHARD 0x220228
#define APIGOTTHARD2 0x220223 #define APIGOTTHARD2 0x220228
#define APIJUNGFRAU 0x220223 #define APIJUNGFRAU 0x220228
#define APIMYTHEN3 0x220223 #define APIMYTHEN3 0x220228
#define APIMOENCH 0x220223 #define APIMOENCH 0x220228
#define APIEIGER 0x220223 #define APIEIGER 0x220228