add (#1711)
This commit is contained in:
parent
a73d5718a7
commit
c450ea7fcd
|
@ -226,8 +226,11 @@ typedef struct {
|
|||
|
||||
int16_t tuneCrc16; // 244
|
||||
uint8_t sd_status; // 246
|
||||
uint8_t pad;
|
||||
|
||||
uint8_t unusedAtTheEnd[41]; // we have some unused bytes to allow compatible TS changes
|
||||
scaled_voltage rawPpsSecondary; // 248
|
||||
|
||||
uint8_t unusedAtTheEnd[38]; // we have some unused bytes to allow compatible TS changes
|
||||
|
||||
// Temporary - will remove soon
|
||||
TsDebugChannels* getDebugChannels() {
|
||||
|
|
|
@ -513,6 +513,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
// Set raw sensors
|
||||
tsOutputChannels->rawTps1Primary = Sensor::getRaw(SensorType::Tps1Primary);
|
||||
tsOutputChannels->rawPpsPrimary = Sensor::getRaw(SensorType::AcceleratorPedalPrimary);
|
||||
tsOutputChannels->rawPpsSecondary = Sensor::getRaw(SensorType::AcceleratorPedalSecondary);
|
||||
tsOutputChannels->rawClt = Sensor::getRaw(SensorType::Clt);
|
||||
tsOutputChannels->rawIat = Sensor::getRaw(SensorType::Iat);
|
||||
tsOutputChannels->rawOilPressure = Sensor::getRaw(SensorType::OilPressure);
|
||||
|
|
|
@ -337,6 +337,7 @@ enable2ndByteCanID = false
|
|||
rawClt = scalar, U16, 238, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
||||
rawIat = scalar, U16, 240, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
||||
rawOilPressure = scalar, U16, 242, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
||||
rawPpsSecondary = scalar, U16, 248, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
||||
|
||||
; we use this to match logs to tunes
|
||||
tuneCrc16 = scalar, U16, 244, "crc16", 1, 0
|
||||
|
@ -953,6 +954,7 @@ gaugeCategory = Sensors - Raw
|
|||
rawCltGauge = rawClt , "Raw CLT", "volts", 0, 5, 0, 0, 5, 5, 3, 0
|
||||
rawIatGauge = rawIat , "Raw IAT", "volts", 0, 5, 0, 0, 5, 5, 3, 0
|
||||
rawOilPressureGauge = rawOilPressure, "Raw Oil Pressure", "volts", 0, 5, 0, 0, 5, 5, 3, 0
|
||||
rawPpsSecondaryGauge = rawPpsSecondary,"Raw Pedal Secondary","volts", 0, 5, 0, 0, 5, 5, 3, 0
|
||||
|
||||
[WueAnalyze]
|
||||
|
||||
|
@ -1755,6 +1757,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
|||
dialog = pedalGauges
|
||||
gauge = pedalPositionGauge
|
||||
gauge = rawPpsPrimaryGauge
|
||||
gauge = rawPpsSecondaryGauge
|
||||
|
||||
dialog = pedalSensor, "Accelerator pedal", border
|
||||
panel = pedalSensorLeft, West
|
||||
|
|
Loading…
Reference in New Issue