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

INA3221 library branch to support negative values #3084

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

KodinLanewave
Copy link
Contributor

@KodinLanewave KodinLanewave commented Jan 11, 2024

Original INA3221 library does not handle negative values properly due to mishandling of signed bits in sensor reading and processing. I have branched the library, changed the code, and tested with several deployed nodes to confirm functionality.

(I first tried to reach out to the library maintainer and filed a bug report over a month ago, then got impatient and fixed it myself in a new branch)

Original INA3221 library does not handle negative values properly due to mishandling of signed bits in sensor reading and processing.  I have branched the library, changed the code, and tested with several deployed nodes to confirm functionality.
@CLAassistant
Copy link

CLAassistant commented Jan 11, 2024

CLA assistant check
All committers have signed the CLA.

platformio.ini Outdated Show resolved Hide resolved
Updated my library repo to reflect a version tag properly per request by meshtastic code reviewer
Copy link
Contributor Author

@KodinLanewave KodinLanewave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thebentern Version tag set up and tested

@thebentern thebentern merged commit 6f96fbf into meshtastic:master Jan 12, 2024
62 checks passed
@KodinLanewave KodinLanewave deleted the ina3221-library-fix branch January 13, 2024 01:10
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.

3 participants