Skip to content

Commit

Permalink
ERC: Include power connections in multiple driver test
Browse files Browse the repository at this point in the history
  • Loading branch information
craftyjon committed Oct 28, 2022
1 parent 882756b commit f813130
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eeschema/connection_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit f813130

Please sign in to comment.