ESP32 Clock Component
Posted: Wed Jan 19, 2022 9:52 pm
Adding the ESP32 with NTP component introduces a lot of compilation errors. With just Initialise called...
timeinfo not found is the main issue..
timeinfo not found is the main issue..
Martin../main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__GetMins':
../main/esp-project.c:455:16: error: 'timeinfo' undeclared (first use in this function); did you mean 'fminf'?
return (FCR_RETVAL);
^~~~~~
fminf
../main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__GetTimeString':
../main/esp-project.c:488:15: error: 'timeinfo' undeclared (first use in this function); did you mean 'fminf'?
^
fminf
../main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__SetDate':
../main/esp-project.c:580:3: error: 'timeinfo' undeclared (first use in this function); did you mean 'fminf'?