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

[wmr] Fix type of wmr_config_header field #322

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

Conversation

mmmspatz
Copy link

The calibration header contains a 16 bit version field, which we are
incorrectly parsing as part of the json_start field. Presumably this has
gone unnoticed because the header version field is always set to 0 in
practice.

Change type of json_start field from uint32_t to uint16_t, and insert a
new field uint16_t header_version.

The calibration header contains a 16 bit version field, which we are
incorrectly parsing as part of the json_start field. Presumably this has
gone unnoticed because the header version field is always set to 0 in
practice.

Change type of json_start field from uint32_t to uint16_t, and insert a
new field uint16_t header_version.
@TheOnlyJoey
Copy link
Member

Question, if the value is always 0, why do you know for sure this is a config header field, do you have any example logs that show differences between headsets or similar to this?
Thanks.

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