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

Specify int variant for 32-bit MCU #4

Merged
merged 2 commits into from
Jun 23, 2023
Merged

Conversation

tinxx
Copy link
Contributor

@tinxx tinxx commented May 19, 2023

Using int for motion values on 32-bit microcontrollers leads to problems as negative values will be converted into high positive values. To address that issue I specified the values as int16_t.

Additionally, I removed some unnecessary variables and stored the data directly into the struct.

@SunjunKim SunjunKim merged commit 03b8b9a into SunjunKim:master Jun 23, 2023
@tinxx tinxx mentioned this pull request Jun 23, 2023
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.

None yet

2 participants