Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Initialize last value to millis() #10

Merged

Conversation

jamesfowkes
Copy link
Contributor

The last value in delay is uninitialised, meaning compile errors/warnings and undefined behaviour.

@scottchiefbaker scottchiefbaker merged commit 8bd9a8c into scottchiefbaker:master Jul 23, 2020
@scottchiefbaker
Copy link
Owner

Good catch! That was part of a merge that went a little haywire.

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.

2 participants