hook up rpm acceleration (#946)
This commit is contained in:
parent
e29318b939
commit
6560de683e
|
@ -89,7 +89,7 @@ typedef struct {
|
|||
unsigned int isKnockChipOk : 1; // bit 9
|
||||
int tsConfigVersion; // 84
|
||||
egt_values_s egtValues; // 88
|
||||
float unusedOffset104; // 104
|
||||
float rpmAcceleration; // 104
|
||||
float massAirFlow; // 108
|
||||
/**
|
||||
* Current volumetric efficiency
|
||||
|
|
|
@ -740,6 +740,8 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->actualLastInjection = ENGINE(actualLastInjection);
|
||||
|
||||
|
||||
// 104
|
||||
tsOutputChannels->rpmAcceleration engine->rpmCalculator.getRpmAcceleration();
|
||||
// offset 108
|
||||
// For air-interpolated tCharge mode, we calculate a decent massAirFlow approximation, so we can show it to users even without MAF sensor!
|
||||
tsOutputChannels->massAirFlow = getAirFlowGauge(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
@ -932,7 +934,6 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->debugFloatField1 = engine->triggerCentral.getHwEventCounter((int)SHAFT_PRIMARY_RISING);
|
||||
tsOutputChannels->debugFloatField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_RISING);
|
||||
tsOutputChannels->debugFloatField3 = engine->triggerCentral.getHwEventCounter((int)SHAFT_3RD_RISING);
|
||||
tsOutputChannels->debugFloatField4 = engine->rpmCalculator.getRpmAcceleration();
|
||||
break;
|
||||
case DBG_FSIO_ADC:
|
||||
// todo: implement a proper loop
|
||||
|
|
Loading…
Reference in New Issue