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