Fix logic of global label ERC check
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7392
This commit is contained in:
parent
dbd749c07a
commit
07e1ae1b56
|
@ -2756,7 +2756,7 @@ bool CONNECTION_GRAPH::ercCheckLabels( const CONNECTION_SUBGRAPH* aSubgraph )
|
|||
// This will be set to true if the global is connected to a pin above, but we
|
||||
// want to reset this to false so that globals get flagged if they only have a
|
||||
// single instance connected to a single pin
|
||||
hasOtherConnections = ( pinCount < 2 );
|
||||
hasOtherConnections = ( pinCount > 1 );
|
||||
|
||||
auto it = m_net_name_to_subgraphs_map.find( name );
|
||||
|
||||
|
|
Loading…
Reference in New Issue