This commit is contained in:
parent
903a6c306e
commit
c390b63b4a
|
@ -74,7 +74,7 @@ typedef struct {
|
|||
unsigned int knockNowIndicator : 1; // bit 14
|
||||
unsigned int brakePedalState : 1; // bit 15. 0 - not pressed, 1 = pressed
|
||||
float vehicleSpeedKph; // 76
|
||||
unsigned int isTpsError : 1; // bit 0
|
||||
unsigned int isTpsError : 1; // bit 0, 80
|
||||
unsigned int isCltError : 1; // bit 1
|
||||
unsigned int isMapError : 1; // bit 2
|
||||
unsigned int isIatError : 1; // bit 3
|
||||
|
@ -82,10 +82,10 @@ typedef struct {
|
|||
unsigned int isTriggerError : 1; // bit 5
|
||||
unsigned int hasFatalError : 1; // bit 6
|
||||
unsigned int isWarnNow : 1; // bit 7
|
||||
int tsConfigVersion;
|
||||
egt_values_s egtValues;
|
||||
float rpmAcceleration;
|
||||
float massAirFlow;
|
||||
int tsConfigVersion; // 84
|
||||
egt_values_s egtValues; // 88
|
||||
float unusedOffset104; // 104
|
||||
float massAirFlow; // 108
|
||||
/**
|
||||
* Current volumetric efficiency
|
||||
*/
|
||||
|
|
|
@ -702,7 +702,11 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->baroPressure = hasBaroSensor() ? getBaroPressure() : 0;
|
||||
#endif /* EFI_ANALOG_SENSORS */
|
||||
tsOutputChannels->engineLoad = engineLoad;
|
||||
tsOutputChannels->rpmAcceleration = engine->rpmCalculator.getRpmAcceleration();
|
||||
|
||||
if (engineConfiguration->debugMode == DBG_TRIGGER_INPUT) {
|
||||
tsOutputChannels->debugFloatField4 = engine->rpmCalculator.getRpmAcceleration();
|
||||
}
|
||||
|
||||
tsOutputChannels->triggerErrorsCounter = engine->triggerCentral.triggerState.totalTriggerErrorCounter;
|
||||
tsOutputChannels->baroCorrection = engine->engineState.baroCorrection;
|
||||
tsOutputChannels->pedalPosition = hasPedalPositionSensor(PASS_ENGINE_PARAMETER_SIGNATURE) ? getPedalPosition(PASS_ENGINE_PARAMETER_SIGNATURE) : 0;
|
||||
|
|
Loading…
Reference in New Issue