I use the lib ezTime. “waitForSync();” is part of this lib. The compiler shows errors during the build:
Mehrere Instanzen von "Überladene Funktion "waitForSync"" stimmen mit der Argumentliste überein:
Funktion "waitForSync()" (deklariert in Zeile 92)
Funktion "ezt::waitForSync(uint16_t timeout = (uint16_t)0U)" (deklariert in Zeile 203 von "C:\Users\CarstenTower\Documents\PlatformIO\Projects\ZaehlerauslesungKplPlatformIO26c\.pio\libdeps\m5stack-core-esp32\ezTime\src\ezTime.h")
call of overloaded 'waitForSync()' is ambiguous