Use correct pad to die lengths in DP length tuner.
Fixes https://gitlab.com/kicad/code/kicad/issues/12859
This commit is contained in:
parent
9623ea7d57
commit
126914859a
|
@ -138,8 +138,8 @@ void DP_MEANDER_PLACER::release()
|
||||||
|
|
||||||
long long int DP_MEANDER_PLACER::origPathLength() const
|
long long int DP_MEANDER_PLACER::origPathLength() const
|
||||||
{
|
{
|
||||||
long long int totalP = m_padToDieLength + lineLength( m_tunedPathP, m_startPad_p, m_endPad_p );
|
long long int totalP = m_padToDieP + lineLength( m_tunedPathP, m_startPad_p, m_endPad_p );
|
||||||
long long int totalN = m_padToDieLength + lineLength( m_tunedPathN, m_startPad_n, m_endPad_n );
|
long long int totalN = m_padToDieN + lineLength( m_tunedPathN, m_startPad_n, m_endPad_n );
|
||||||
return std::max( totalP, totalN );
|
return std::max( totalP, totalN );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue