Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Conversation

sweeneyb
Copy link

ntptime.settime() sometimes fails when the board is just booted.
This loop tries a few times and waits several seconds after a failure.
Reading online, things tend to start working, which was my experience,
too.

ntptime.settime() sometimes fails when the board is just booted.
This loop tries a few times and waits several seconds after a failure.
Reading online, things tend to start working, which was my experience,
too.
@sweeneyb sweeneyb changed the title add a small around settime as for the esp32 add a small loop around settime as for the esp32 Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant