diff --git a/eeschema/erc.cpp b/eeschema/erc.cpp index 97d00075e9..5a8eb97e33 100644 --- a/eeschema/erc.cpp +++ b/eeschema/erc.cpp @@ -439,9 +439,13 @@ int ERC_TESTER::TestPinToPin() { std::vector pins; std::unordered_map pinToScreenMap; + bool has_noconnect = false; for( CONNECTION_SUBGRAPH* subgraph: net.second ) { + if( subgraph->m_no_connect ) + has_noconnect = true; + for( EDA_ITEM* item : subgraph->m_items ) { if( item->Type() == SCH_PIN_T ) @@ -538,7 +542,7 @@ int ERC_TESTER::TestPinToPin() } } - if( needsDriver && !hasDriver ) + if( needsDriver && !hasDriver && !has_noconnect ) { int err_code = ispowerNet ? ERCE_POWERPIN_NOT_DRIVEN : ERCE_PIN_NOT_DRIVEN;