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

incorrect use of int #2

Closed
bungernut opened this issue Jul 26, 2021 · 0 comments
Closed

incorrect use of int #2

bungernut opened this issue Jul 26, 2021 · 0 comments

Comments

@bungernut
Copy link
Collaborator

https://github.com/ericcheng94/nNEXO_Microcontroller_Temp/blob/5b1cc3159d358c7eaec6f1060fe57ec7ec3c33e6/nEXO_Teensy.ino#L57

When this overruns, it could be negative. I recommend using uint16_t or larger. Do you expect overruns?

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

No branches or pull requests

2 participants