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

Bugfix for sign conversion #91

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

Conversation

alfs
Copy link

@alfs alfs commented May 26, 2024

HDLC 0x10 is a signed 2-byte integer, but was put in 32 bit signed variable so the sign was lost for negative values (when current is negative / power is exported to the grid)

HDLC 0x10 is a signed 2-byte integer, but was put in 32 bit signed variable so the sign was lost for negative values (when current is negative / power is exported to the grid)
@alfs alfs mentioned this pull request May 26, 2024
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.

1 participant