Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix return value of NTPClient::update #56

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

bitsy
Copy link
Contributor

@bitsy bitsy commented Sep 17, 2018

The NTPClient method update() has been changed to only return "TRUE" after a successful update. The following conditions return "FALSE":

  • Interval duration requirement not met
  • forceUpdate() times out

The NTPClient method update() has been changed to only return "TRUE" after a successful update. The following conditions return "FALSE":
- Interval duration requirement not met
- forceUpdate() times out
Copy link

@bperkins011 bperkins011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be committed? The change makes more sense than the original code.
thx

@aentinger aentinger merged commit 97cdcd7 into arduino-libraries:master Sep 19, 2019
@aentinger aentinger changed the title Update NTPClient.cpp Fix return value of NTPClient::update Sep 19, 2019
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Dec 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants