Skip to content

Modified now() to return timeNeedsSync if time is set and the sync …#164

Open
richteel wants to merge 1 commit into
PaulStoffregen:masterfrom
richteel:master
Open

Modified now() to return timeNeedsSync if time is set and the sync …#164
richteel wants to merge 1 commit into
PaulStoffregen:masterfrom
richteel:master

Conversation

@richteel

Copy link
Copy Markdown

…interval elapsed even if the setSyncProvider was not called.

  • Updated documentation
  • Included example TimeGPS_Neo.ino to demonstrate updating time when GPS has a fix and the time is not set or sync interval has elapsed

I had commented earlier today on the PJRC forum that I would be submitting this pull request.
https://forum.pjrc.com/threads/68178-TimeLib-now()

…interval elapsed even if the setSyncProvider was not called.

- Updated documentation
- Included example TimeGPS_Neo.ino to demonstrate updating time when GPS has a fix and the time is not set or sync interval has elapsed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant