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

AP_InertialSensor: Change to -32767 #25208

Closed
wants to merge 1 commit into from

Conversation

muramura
Copy link
Contributor

@muramura muramura commented Oct 8, 2023

INT16_MIN is -32768.
The #25178 explains it as -32767.
I have adapted this PR explanation.

@peterbarker
Copy link
Contributor

The description on the origin PR was incorrect. The code is correct, 32768 is the magic value.

@peterbarker peterbarker closed this Oct 9, 2023
@muramura
Copy link
Contributor Author

muramura commented Oct 9, 2023

I understand that the PR explanation is incorrect.
Thanks for your comment.

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