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

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 "