Fix overly aggressive ERC check
It helps to only check for the pintypes I care about
This commit is contained in:
parent
fbc3ba8c04
commit
84b02e51f1
|
@ -539,7 +539,10 @@ int ERC_TESTER::TestNoConnectPins()
|
|||
SCH_COMPONENT* comp = static_cast<SCH_COMPONENT*>( item );
|
||||
|
||||
for( SCH_PIN* pin : comp->GetSchPins( &sheet ) )
|
||||
pinMap[pin->GetPosition()].emplace_back( pin );
|
||||
{
|
||||
if( pin->GetLibPin()->GetType() == ELECTRICAL_PINTYPE::PT_NC )
|
||||
pinMap[pin->GetPosition()].emplace_back( pin );
|
||||
}
|
||||
}
|
||||
|
||||
for( auto& pair : pinMap )
|
||||
|
|
Loading…
Reference in New Issue