better parameter name

This commit is contained in:
rusefillc 2022-11-27 09:47:08 -05:00
parent 87d28856e1
commit 0ea2f68740
1 changed files with 2 additions and 2 deletions

View File

@ -46,10 +46,10 @@ public class JniUnitTest {
assertEquals(2.45, getField(engineLogic, Fields.GEARRATIO1)); assertEquals(2.45, getField(engineLogic, Fields.GEARRATIO1));
} }
private double getField(EngineLogic engineLogic, Field gearratio1) { private double getField(EngineLogic engineLogic, Field field) {
byte[] configuration = engineLogic.getConfiguration(); byte[] configuration = engineLogic.getConfiguration();
assertNotNull("configuration", configuration); assertNotNull("configuration", configuration);
return gearratio1.getValue(new ConfigurationImage(configuration), gearratio1.getScale()); return field.getValue(new ConfigurationImage(configuration), field.getScale());
} }
private double getValue(byte[] outputs, Sensor sensor) { private double getValue(byte[] outputs, Sensor sensor) {