Fix overzealous driver check that was causing false positives
This commit is contained in:
parent
d40ae3de46
commit
1d2838bd92
|
@ -2442,7 +2442,7 @@ bool CONNECTION_GRAPH::ercCheckNoConnects( const CONNECTION_SUBGRAPH* aSubgraph
|
||||||
|
|
||||||
bool CONNECTION_GRAPH::ercCheckFloatingWires( const CONNECTION_SUBGRAPH* aSubgraph )
|
bool CONNECTION_GRAPH::ercCheckFloatingWires( const CONNECTION_SUBGRAPH* aSubgraph )
|
||||||
{
|
{
|
||||||
if( !aSubgraph->m_drivers.empty() )
|
if( aSubgraph->m_driver )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
std::vector<SCH_LINE*> wires;
|
std::vector<SCH_LINE*> wires;
|
||||||
|
|
Loading…
Reference in New Issue