Closed
Description
in wled10_ntp
the set countdown block Line -
void setCountdown() { countdownTime = timezones[currentTimezone]->toUTC(getUnixTime(countdownHour, countdownMin, countdownSec, countdownDay, countdownMonth, countdownYear)); if (countdownTime - now() > 0) countdownOverTriggered = false; }
produces a compilation error relating to an out of scope function 'getUnixTime'
I believe this needs to be declared within the function as a private variable prior to it being called - but my C foo is lacking.
Interestingly this code compiles fine under platformio (esp32 target) but not with the arduino IDE.
Activity