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

Add missing parentheses to US_TO_TICKS and TICKS_TO_US macros. #271

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

HalfVoxel
Copy link
Contributor

Spent an hour trying to figure out why my timestamps were all wrong. Turns out it was only converting part of the expression.
Might I suggest using inline functions for this instead?

@gin66
Copy link
Owner

gin66 commented Jun 24, 2024

Thanks for the PR. Makes totally sense.

@gin66 gin66 merged commit 894d66a into gin66:master Jun 24, 2024
34 checks passed
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