This commit is contained in:
maliakal_d 2021-11-03 10:49:59 +01:00
parent 7c2e64d9fe
commit 1da2761654
12 changed files with 15 additions and 11 deletions

View File

@ -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.
- rx id in config file was not taken into account. fixed.
- programming firmware failure for blackfin, fixed but requires new kernel.
- nios kernel check updated (ensuring right kernel)
3. Known Issues
===============

View File

@ -188,7 +188,9 @@ int checkKernelVersion() {
#ifdef VIRTUAL
return OK;
#endif
return validateKernelVersion(KERNEL_DATE_VRSN);
char buf[255] = {0};
strcpy(buf, KERNEL_DATE_VRSN);
return validateKernelVersion(buf);
}
int checkType() {

View File

@ -181,7 +181,9 @@ int checkKernelVersion() {
#ifdef VIRTUAL
return OK;
#endif
return validateKernelVersion(KERNEL_DATE_VRSN);
char buf[255] = {0};
strcpy(buf, KERNEL_DATE_VRSN);
return validateKernelVersion(buf);
}
int checkType() {

View File

@ -81,6 +81,7 @@ int getTimeFromString(char *buf, time_t *result) {
}
buf[cestPos] = '\0';
}
LOG(logDEBUG, ("buf after removing CEST %s\n", buf));
// convert to time structure
struct tm t;

View File

@ -32,9 +32,7 @@ void defineGPIOpins() {
return;
#endif
if (latestKernelVerified == -1) {
char version[255]={0};
strcpy(version, KERNEL_DATE_VRSN_3GPIO);
if (FAIL == validateKernelVersion(version, sizeof(version))) {
if (FAIL == validateKernelVersion(KERNEL_DATE_VRSN_3GPIO)) {
latestKernelVerified = 0;
LOG(logWARNING,
("Kernel too old to use gpio 3 pins. Not the end "

View File

@ -7,9 +7,9 @@
#define APIRECEIVER 0x211020
#define APIGUI 0x211021
#define APIEIGER 0x211027
#define APIGOTTHARD 0x211029
#define APIJUNGFRAU 0x211102
#define APIMOENCH 0x211029
#define APICTB 0x211102
#define APIMYTHEN3 0x211102
#define APIGOTTHARD2 0x211102
#define APICTB 0x211103
#define APIGOTTHARD 0x211103
#define APIGOTTHARD2 0x211103
#define APIJUNGFRAU 0x211103
#define APIMYTHEN3 0x211103
#define APIMOENCH 0x211103