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

Fix "onMillis" and "currentMillis" variables data types to align millis() return type #69

Open
wants to merge 1 commit into
base: 2.5
Choose a base branch
from

Conversation

edrikk
Copy link

@edrikk edrikk commented Jan 16, 2024

Related indirectly to issue 45.

The millis() function returns an "unsigned long" which is 32 bits on Arduino devices.

It's not a bad idea to define variables working with/against millis() as "unsigned long" similar to this recent commit in the homekit firmware.

@edrikk
Copy link
Author

edrikk commented Jan 29, 2024

Ping @PaulWieland

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