missed a file

This commit is contained in:
Matthew Kennedy 2023-03-09 10:46:11 -08:00
parent affce542fd
commit b4c6c415e3
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public enum Sensor {
vehicleSpeedKph("Vehicle Speed", SensorCategory.SENSOR_INPUTS, FieldType.INT8, TsOutputs.VEHICLESPEEDKPH, 1.0, 0.0, 0.0, "kph"),
// Temperatures
INT_TEMP(GAUGE_NAME_CPU_TEMP, SensorCategory.OPERATIONS, FieldType.INT8, TsOutputs.INTERNALMCUTEMPERATURE, 1, 0, 5, "C"),
INT_TEMP(GAUGE_NAME_ECU_TEMPERATURE, SensorCategory.OPERATIONS, FieldType.INT8, TsOutputs.INTERNALMCUTEMPERATURE, 1, 0, 5, "C"),
// throttle, pedal
TPS(GAUGE_NAME_TPS, SensorCategory.SENSOR_INPUTS, FieldType.INT16, TsOutputs.TPSVALUE, 1.0 / PACK_MULT_PERCENT, 0, 100, "%"), // throttle position sensor

View File

@ -17,7 +17,7 @@ public class SdCardFieldsGeneratorTest {
state.getVariableRegistry().register("PACK_MULT_PERCENT", 100);
state.getVariableRegistry().register("GAUGE_NAME_RPM", "\"hello\"");
state.getVariableRegistry().register("GAUGE_NAME_GEAR_RATIO", "ra");
state.getVariableRegistry().register("GAUGE_NAME_CPU_TEMP", "te");
state.getVariableRegistry().register("GAUGE_NAME_ECU_TEMPERATURE", "te");
}
};