tobozo / WiFiManagerTz

A NTP/Timezone extension to @tzapu's WiFiManager
Other
7 stars 2 forks source link

sntp_set_sync_interval #1

Closed dragospascale closed 1 year ago

dragospascale commented 1 year ago

I cannot find the declaration for sntp_set_sync_interval function so I get error at compiling : "sntp_set_sync_interval' was not declared in this scope"

tobozo commented 1 year ago

Hi, thanks for your feedback :+1:

sntp_set_sync_interval was added in esp-idf 4.x, so make sure you're using at least 2.x.x version of esp32-arduino, or latest platform-espressif32 in platformio.

It can also be caused by:

dragospascale commented 1 year ago

Thank you . It Works

On 21 Nov 2022, at 16:32, tobozo @.***> wrote:

Hi, thanks for your feedback 👍

sntp_set_sync_interval was added in esp-idf 4.x, so make sure you're using at least 2.x.x version of esp32-arduino, or latest platform-espressif32 in platformio.

It can also be caused by:

using at an obsolete version of TimeLib https://github.com/PaulStoffregen/Time -> use latest version case insensitive conflict with another time.h or Time.h in the include path -> only occurs on Windows, fixed by removing the other conflicting library) — Reply to this email directly, view it on GitHub https://github.com/tobozo/WiFiManagerTz/issues/1#issuecomment-1322151027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQBB6RQ7CYMYA65COISHELWJOBYZANCNFSM6AAAAAASGU73XA. You are receiving this because you authored the thread.