binaries compiling, removed inline for c

This commit is contained in:
maliakal_d 2020-05-15 13:03:50 +02:00
parent 50d2d21018
commit 26dfccf77e
9 changed files with 11 additions and 7 deletions

View File

@ -296,7 +296,11 @@ enum detFuncs {
};
// clang-format off
#ifdef __cplusplus
inline const char* getFunctionNameFromEnum(enum detFuncs func) {
#else
const char* getFunctionNameFromEnum(enum detFuncs func) {
#endif
switch (func) {
case F_EXEC_COMMAND: return "F_EXEC_COMMAND";
case F_GET_DETECTOR_TYPE: return "F_GET_DETECTOR_TYPE";

View File

@ -4,10 +4,10 @@
#define APIRECEIVER 0x200409
#define APIGUI 0x200409
#define APICTB 0x200508
#define APIGOTTHARD 0x200508
#define APIJUNGFRAU 0x200508
#define APIMYTHEN3 0x200508
#define APIMOENCH 0x200508
#define APIEIGER 0x200513
#define APIGOTTHARD2 0x200513
#define APIEIGER 0x200515
#define APICTB 0x200515
#define APIGOTTHARD 0x200515
#define APIGOTTHARD2 0x200515
#define APIJUNGFRAU 0x200515
#define APIMYTHEN3 0x200515
#define APIMOENCH 0x200515