Skip to content

Conversation

@kevinthegreat1
Copy link
Collaborator

Fix gpio expander pins

Related Issues/Tickets

#86 (comment)

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Z Tests
  • Manual testing (describe steps)

Further Notes / Considerations

I don't have the means to do any testing right now, but this information can be confirmed by other parts of the code.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes incorrect GPIO expander pin assignments for the charge and readonly input pins on the MCP23017 GPIO expander.

Key Changes:

  • Corrected charge pin from 16 to 15 (GPB7)
  • Corrected readonly pin from 15 to 14 (GPB6)
  • Aligns pin numbers with the documented mapping in gpio-line-names comment

@Mikefly123 Mikefly123 self-requested a review November 13, 2025 05:08
Copy link
Contributor

@Mikefly123 Mikefly123 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the quick patch

@Mikefly123 Mikefly123 merged commit 5888fd9 into main Nov 14, 2025
9 checks passed
@Mikefly123 Mikefly123 deleted the gpio-fix branch November 14, 2025 01:36
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