From 315ae344d83a5942031dadf4c7ec98006addf17a Mon Sep 17 00:00:00 2001 From: rusEfi Date: Mon, 24 Sep 2018 23:44:04 -0400 Subject: [PATCH] pedal gauge fix --- java_console/models/src/com/rusefi/core/Sensor.java | 3 ++- java_console/ui/src/com/rusefi/Launcher.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java_console/models/src/com/rusefi/core/Sensor.java b/java_console/models/src/com/rusefi/core/Sensor.java index 369e7a0f96..ca394a89ad 100644 --- a/java_console/models/src/com/rusefi/core/Sensor.java +++ b/java_console/models/src/com/rusefi/core/Sensor.java @@ -30,7 +30,6 @@ public enum Sensor { MAF("MAF", SensorCategory.SENSOR_INPUTS, "Volts", 4), MAFR("MAFR", SensorCategory.SENSOR_INPUTS, "kg/hr", 4), - PPS("pedal", SensorCategory.SENSOR_INPUTS, "%", 100), // pedal position sensor knockCount("Knock", SensorCategory.SENSOR_INPUTS, "count", 30), KnockValue("Knock level", SensorCategory.SENSOR_INPUTS, "v", 6), @@ -114,6 +113,8 @@ public enum Sensor { deltaTps(SensorCategory.FUEL, FieldType.FLOAT, 116, BackgroundColor.MUD), engineLoadAccelDelta(SensorCategory.FUEL, FieldType.FLOAT, 124, BackgroundColor.MUD), tpsAccelFuel(Fields.GAUGE_NAME_FUEL_TPS_EXTRA, SensorCategory.FUEL, FieldType.FLOAT, 128, BackgroundColor.MUD), + PPS("pedal", SensorCategory.SENSOR_INPUTS, FieldType.FLOAT, 126, BackgroundColor.MUD), // pedal position sensor + injectorDutyCycle(Fields.GAUGE_NAME_FUEL_INJ_DUTY, SensorCategory.OPERATIONS, FieldType.FLOAT, 140, BackgroundColor.MUD), wallFuelAmount(SensorCategory.FUEL, FieldType.FLOAT, 160, BackgroundColor.MUD), iatCorrection(SensorCategory.FUEL, FieldType.FLOAT, 164, BackgroundColor.MUD, 0, 5), diff --git a/java_console/ui/src/com/rusefi/Launcher.java b/java_console/ui/src/com/rusefi/Launcher.java index 28ccb7dcea..89d756b2a9 100644 --- a/java_console/ui/src/com/rusefi/Launcher.java +++ b/java_console/ui/src/com/rusefi/Launcher.java @@ -45,7 +45,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig; * @see EngineSnifferPanel */ public class Launcher { - public static final int CONSOLE_VERSION = 20180130; + public static final int CONSOLE_VERSION = 20180924; public static final boolean SHOW_STIMULATOR = false; private static final String TAB_INDEX = "main_tab"; protected static final String PORT_KEY = "port";