Add a little fuzz to the motor diameter detection.
This commit is contained in:
parent
1d36ab5eaf
commit
30b89a54cf
@ -298,7 +298,7 @@ public abstract class MotorFilterPanel extends JPanel {
|
||||
// find the next largest diameter
|
||||
int i;
|
||||
for( i =0; i< diameterValues.length; i++ ) {
|
||||
if ( mountDiameter< diameterValues[i] ) {
|
||||
if ( mountDiameter< diameterValues[i] - 0.0005 ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user