Skip to content

Update pin order to match silk. #5652

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

Merged
merged 1 commit into from
Dec 3, 2021
Merged

Conversation

kattni
Copy link

@kattni kattni commented Dec 3, 2021

@ladyada You asked me to tag you on this PR to clarify the order I would like to see the pins. Anytime there are multiple names for a pin, and one of those names is on the silk, the silk-pin-name should always come first in the list.

When printing the board object, the first name in the list is what's returned, and anytime you're dealing with the board objects, you want the pin in the silk to be returned to avoid confusion. If an alternate pin name is returned, you're forced to look up in the pins.c file to find out what the silk-name is, etc.

@kattni kattni requested review from ladyada and dhalbert December 3, 2021 16:55
Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

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

ah got it!

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