parent
9dfc066bce
commit
f6695b4264
|
@ -112,7 +112,7 @@ struct TunerStudioOutputChannels {
|
|||
// misc sensors
|
||||
scaled_voltage vBatt; // 38
|
||||
scaled_pressure oilPressure; // 40
|
||||
scaled_angle vvtPosition; // 42
|
||||
scaled_angle vvtPositionB1I; // 42
|
||||
|
||||
// Fuel math
|
||||
scaled_channel<uint16_t, 1000> chargeAirMass; // 44 cylinder airmass in mg, 0-65 grams
|
||||
|
@ -268,10 +268,9 @@ struct TunerStudioOutputChannels {
|
|||
scaled_lambda lambda2; // 286
|
||||
scaled_afr airFuelRatio2; // 288
|
||||
|
||||
//288
|
||||
scaled_angle secondVvtPositionBank1; // 290
|
||||
scaled_angle vvtPositionBank2; // 292
|
||||
scaled_angle secondVvtPositionBank2; // 294
|
||||
scaled_angle vvtPositionB1E; // 290
|
||||
scaled_angle vvtPositionB2I; // 292
|
||||
scaled_angle vvtPositionB2E; // 294
|
||||
|
||||
scaled_percent fuelTrim[2]; // 296 & 298
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ static constexpr LogField fields[] = {
|
|||
{tsOutputChannels.oilPressure, GAUGE_NAME_OIL_PRESSURE, GAUGE_NAME_FUEL_PRESSURE_HIGH_UNITS, 0},
|
||||
{tsOutputChannels.lowFuelPressure, GAUGE_NAME_FUEL_PRESSURE_LOW, GAUGE_NAME_FUEL_PRESSURE_LOW_UNITS, 0},
|
||||
{tsOutputChannels.highFuelPressure, GAUGE_NAME_FUEL_PRESSURE_HIGH, GAUGE_NAME_FUEL_PRESSURE_HIGH_UNITS, 0},
|
||||
{tsOutputChannels.vvtPosition, GAUGE_NAME_VVT, "deg", 1},
|
||||
{tsOutputChannels.vvtPositionB1I, GAUGE_NAME_VVT, "deg", 1},
|
||||
{tsOutputChannels.chargeAirMass, GAUGE_NAME_AIR_MASS, "g", 3},
|
||||
{tsOutputChannels.currentTargetAfr, GAUGE_NAME_TARGET_AFR, "afr", 2},
|
||||
{tsOutputChannels.targetLambda, GAUGE_NAME_TARGET_LAMBDA, "", 3},
|
||||
|
|
|
@ -600,10 +600,10 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
// 248
|
||||
tsOutputChannels->vvtPosition = engine->triggerCentral.getVVTPosition(/*bankIndex*/0, /*camIndex*/0);
|
||||
tsOutputChannels->secondVvtPositionBank1 = engine->triggerCentral.getVVTPosition(/*bankIndex*/0, /*camIndex*/1);
|
||||
tsOutputChannels->vvtPositionBank2 = engine->triggerCentral.getVVTPosition(/*bankIndex*/1, /*camIndex*/0);
|
||||
tsOutputChannels->secondVvtPositionBank2 = engine->triggerCentral.getVVTPosition(/*bankIndex*/1, /*camIndex*/1);
|
||||
tsOutputChannels->vvtPositionB1I = engine->triggerCentral.getVVTPosition(/*bankIndex*/0, /*camIndex*/0);
|
||||
tsOutputChannels->vvtPositionB1E = engine->triggerCentral.getVVTPosition(/*bankIndex*/0, /*camIndex*/1);
|
||||
tsOutputChannels->vvtPositionB2I = engine->triggerCentral.getVVTPosition(/*bankIndex*/1, /*camIndex*/0);
|
||||
tsOutputChannels->vvtPositionB2E = engine->triggerCentral.getVVTPosition(/*bankIndex*/1, /*camIndex*/1);
|
||||
#endif
|
||||
|
||||
// 252
|
||||
|
|
Loading…
Reference in New Issue