Reduce amplitude snap value of tuning patterns.

This commit is contained in:
Alex Shvartzkop 2024-02-20 05:40:08 +03:00 committed by dsa-t
parent 10e6ca8740
commit cbfd757d28
1 changed files with 1 additions and 1 deletions

View File

@ -1539,7 +1539,7 @@ bool PCB_TUNING_PATTERN::UpdateFromEditPoints( std::shared_ptr<EDIT_POINTS> aEdi
if( m_tuningMode == DIFF_PAIR )
value -= m_trackWidth + m_diffPairGap;
SetMaxAmplitude( KiROUND( value / pcbIUScale.mmToIU( 0.1 ) ) * pcbIUScale.mmToIU( 0.1 ) );
SetMaxAmplitude( KiROUND( value / pcbIUScale.mmToIU( 0.01 ) ) * pcbIUScale.mmToIU( 0.01 ) );
int side = base.Side( wHandle );