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

fixes hex2char() returning wrong characters for 0xa..0xf #3302

Merged
merged 1 commit into from Mar 5, 2023

Conversation

mha1
Copy link
Contributor

@mha1 mha1 commented Mar 4, 2023

Fixes #3301

Summary of changes:
subtract 10 instead of 9 in case hex value is in [0xa..0xf]

@pfeerick pfeerick added the bug 🪲 Something isn't working label Mar 5, 2023
@pfeerick pfeerick added this to the 2.8.2 milestone Mar 5, 2023
@pfeerick pfeerick merged commit b4e1347 into EdgeTX:main Mar 5, 2023
@mha1 mha1 deleted the hex2char branch July 6, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

strhelper function hex2char() returns wrong characters for 0xa..0xf
2 participants