mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
bug fix
This commit is contained in:
parent
7c2e64d9fe
commit
1da2761654
@ -29,6 +29,7 @@ This document describes the differences between vx.x.x and v6.0.0.
|
|||||||
- setting rx_hostname to none threw an exception. fixed.
|
- setting rx_hostname to none threw an exception. fixed.
|
||||||
- rx id in config file was not taken into account. fixed.
|
- rx id in config file was not taken into account. fixed.
|
||||||
- programming firmware failure for blackfin, fixed but requires new kernel.
|
- programming firmware failure for blackfin, fixed but requires new kernel.
|
||||||
|
- nios kernel check updated (ensuring right kernel)
|
||||||
|
|
||||||
3. Known Issues
|
3. Known Issues
|
||||||
===============
|
===============
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -188,7 +188,9 @@ int checkKernelVersion() {
|
|||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
return OK;
|
return OK;
|
||||||
#endif
|
#endif
|
||||||
return validateKernelVersion(KERNEL_DATE_VRSN);
|
char buf[255] = {0};
|
||||||
|
strcpy(buf, KERNEL_DATE_VRSN);
|
||||||
|
return validateKernelVersion(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
int checkType() {
|
int checkType() {
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -181,7 +181,9 @@ int checkKernelVersion() {
|
|||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
return OK;
|
return OK;
|
||||||
#endif
|
#endif
|
||||||
return validateKernelVersion(KERNEL_DATE_VRSN);
|
char buf[255] = {0};
|
||||||
|
strcpy(buf, KERNEL_DATE_VRSN);
|
||||||
|
return validateKernelVersion(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
int checkType() {
|
int checkType() {
|
||||||
|
@ -81,6 +81,7 @@ int getTimeFromString(char *buf, time_t *result) {
|
|||||||
}
|
}
|
||||||
buf[cestPos] = '\0';
|
buf[cestPos] = '\0';
|
||||||
}
|
}
|
||||||
|
LOG(logDEBUG, ("buf after removing CEST %s\n", buf));
|
||||||
|
|
||||||
// convert to time structure
|
// convert to time structure
|
||||||
struct tm t;
|
struct tm t;
|
||||||
|
@ -32,9 +32,7 @@ void defineGPIOpins() {
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
if (latestKernelVerified == -1) {
|
if (latestKernelVerified == -1) {
|
||||||
char version[255]={0};
|
if (FAIL == validateKernelVersion(KERNEL_DATE_VRSN_3GPIO)) {
|
||||||
strcpy(version, KERNEL_DATE_VRSN_3GPIO);
|
|
||||||
if (FAIL == validateKernelVersion(version, sizeof(version))) {
|
|
||||||
latestKernelVerified = 0;
|
latestKernelVerified = 0;
|
||||||
LOG(logWARNING,
|
LOG(logWARNING,
|
||||||
("Kernel too old to use gpio 3 pins. Not the end "
|
("Kernel too old to use gpio 3 pins. Not the end "
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
#define APIRECEIVER 0x211020
|
#define APIRECEIVER 0x211020
|
||||||
#define APIGUI 0x211021
|
#define APIGUI 0x211021
|
||||||
#define APIEIGER 0x211027
|
#define APIEIGER 0x211027
|
||||||
#define APIGOTTHARD 0x211029
|
#define APICTB 0x211103
|
||||||
#define APIJUNGFRAU 0x211102
|
#define APIGOTTHARD 0x211103
|
||||||
#define APIMOENCH 0x211029
|
#define APIGOTTHARD2 0x211103
|
||||||
#define APICTB 0x211102
|
#define APIJUNGFRAU 0x211103
|
||||||
#define APIMYTHEN3 0x211102
|
#define APIMYTHEN3 0x211103
|
||||||
#define APIGOTTHARD2 0x211102
|
#define APIMOENCH 0x211103
|
||||||
|
Loading…
x
Reference in New Issue
Block a user