mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
const changed to fix kernel parsing for CET
This commit is contained in:
parent
5a3caf22d4
commit
8d7a55c2df
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -74,7 +74,7 @@ int getTimeFromString(char *buf, time_t *result) {
|
||||
// remove timezone as strptime cannot validate timezone despite
|
||||
// documentation (for blackfin)
|
||||
LOG(logDEBUG, ("kernel v %s\n", buffer));
|
||||
const char *timezone = {"CEST"};
|
||||
char *timezone = {"CEST"};
|
||||
char *res = strstr(buffer, timezone);
|
||||
// remove CET as well
|
||||
if (res == NULL) {
|
||||
@ -668,4 +668,4 @@ int deleteFile(char *mess, char *fname, char *errorPrefix) {
|
||||
("\tFile does not exist anyway: %s (%s)\n", fullname, errorPrefix));
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
}
|
||||
|
@ -6,10 +6,10 @@
|
||||
#define APIRECEIVER 0x211124
|
||||
#define APIGUI 0x211124
|
||||
|
||||
#define APICTB 0x220128
|
||||
#define APIGOTTHARD 0x220128
|
||||
#define APIGOTTHARD2 0x220128
|
||||
#define APIJUNGFRAU 0x220128
|
||||
#define APIMYTHEN3 0x220128
|
||||
#define APIMOENCH 0x220128
|
||||
#define APIEIGER 0x220128
|
||||
#define APICTB 0x220131
|
||||
#define APIGOTTHARD 0x220131
|
||||
#define APIGOTTHARD2 0x220131
|
||||
#define APIJUNGFRAU 0x220131
|
||||
#define APIMYTHEN3 0x220131
|
||||
#define APIMOENCH 0x220131
|
||||
#define APIEIGER 0x220131
|
||||
|
Loading…
x
Reference in New Issue
Block a user