Repository navigation
Fix false power-pin warnings for passive components - #504
Merged
imrishabh18 merged 1 commit intoOct 31, 2026
Merged
Conversation
GokulPandi-M
marked this pull request as ready for review
October 31, 2026 16:21
imrishabh18
approved these changes
Oct 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The Macro Six USB-C board board uses an EC11E18244AU mechanical encoder for volume control. Its imported component uses , but it has no power-supply pin: it works through passive contacts. All seven pins are explicitly marked passive and connected to the board’s signal or ground nets.
The power-pin checker currently treats this component like a powered chip and reports ENC1 has no pin with requires_power=true, despite those passive attributes. This creates a misleading warning for a component that cannot truthfully declare a power pin.
This fixes the behaviour reproduced in #500 by skipping the power-pin warning when every connectable pin is explicitly passive. Components with non-passive or unspecified pins remain checked.
Before and after
has no pin with requires_power=true.