mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
bug fix
This commit is contained in:
@ -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;
|
||||
|
@ -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 "
|
||||
|
Reference in New Issue
Block a user