ERC: Include power connections in multiple driver test
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12138
(cherry picked from commit 141c1f020e
)
This commit is contained in:
parent
882756b676
commit
f81313068e
|
@ -2372,7 +2372,9 @@ bool CONNECTION_GRAPH::ercCheckMultipleDrivers( const CONNECTION_SUBGRAPH* aSubg
|
|||
|
||||
if( driver->Type() == SCH_GLOBAL_LABEL_T
|
||||
|| driver->Type() == SCH_HIER_LABEL_T
|
||||
|| driver->Type() == SCH_LABEL_T )
|
||||
|| driver->Type() == SCH_LABEL_T
|
||||
|| ( driver->Type() == SCH_PIN_T
|
||||
&& static_cast<SCH_PIN*>( driver )->IsPowerConnection() ) )
|
||||
{
|
||||
wxString primaryName = aSubgraph->GetNameForDriver( aSubgraph->m_driver );
|
||||
wxString secondaryName = aSubgraph->GetNameForDriver( driver );
|
||||
|
|
Loading…
Reference in New Issue