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

Read input registers and basic support of little Indian values #1

Merged
merged 7 commits into from
Feb 28, 2024

Conversation

PhilippeRigaux
Copy link
Contributor

To support Solax X1 G4 inverters, one need to decode little Indian numbers and read Input registers. Sample config file included..

@PhilippeRigaux
Copy link
Contributor Author

Last minute bug fix on some little Indian values..

@mazocode
Copy link
Owner

Many thanks for contributing @PhilippeRigaux! Can you please check the output from the linter workflow and rename indianess/indian to endianness/endian?

@PhilippeRigaux
Copy link
Contributor Author

I saw that you didn't managed the multi-bytes value in your initial code so I added it to big endian too.

@PhilippeRigaux
Copy link
Contributor Author

What is the "linter workflow"?

@mazocode
Copy link
Owner

What is the "linter workflow"?

You can run make check-code to run the linter. The linter is blocking a merge if there are code formatting issues. It's a bit picky but helps to ensure readability...

@PhilippeRigaux
Copy link
Contributor Author

PhilippeRigaux commented Feb 28, 2024 via email

@mazocode
Copy link
Owner

Looks good, thanks!

@mazocode mazocode merged commit 7c964d8 into mazocode:main Feb 28, 2024
1 check passed
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