only:dead code
This commit is contained in:
parent
2ec2448079
commit
6f611acd15
|
@ -765,28 +765,9 @@ void updateTunerStudioState() {
|
|||
#endif
|
||||
|
||||
switch (engineConfiguration->debugMode) {
|
||||
case DBG_TPS_ACCEL:
|
||||
tsOutputChannels->debugIntField1 = engine->tpsAccelEnrichment.cb.getSize();
|
||||
break;
|
||||
#if EFI_HIP_9011_DEBUG
|
||||
case DBG_KNOCK:
|
||||
// todo: maybe extract hipPostState(tsOutputChannels);
|
||||
tsOutputChannels->debugIntField1 = instance.correctResponsesCount;
|
||||
tsOutputChannels->debugIntField2 = instance.invalidResponsesCount;
|
||||
break;
|
||||
#endif /* EFI_HIP_9011 */
|
||||
case DBG_ION:
|
||||
#if EFI_CDM_INTEGRATION
|
||||
ionPostState(tsOutputChannels);
|
||||
#endif /* EFI_CDM_INTEGRATION */
|
||||
break;
|
||||
case DBG_TLE8888:
|
||||
#if (BOARD_TLE8888_COUNT > 0)
|
||||
tle8888PostState();
|
||||
#endif /* BOARD_TLE8888_COUNT */
|
||||
break;
|
||||
case DBG_LOGIC_ANALYZER:
|
||||
#if EFI_LOGIC_ANALYZER
|
||||
// used by HW CI
|
||||
reportLogicAnalyzerToTS();
|
||||
#endif /* EFI_LOGIC_ANALYZER */
|
||||
break;
|
||||
|
|
|
@ -71,19 +71,6 @@ float TpsAccelEnrichment::getTpsEnrichment() {
|
|||
resetFractionValues();
|
||||
}
|
||||
|
||||
#if EFI_TUNER_STUDIO
|
||||
if (engineConfiguration->debugMode == DBG_TPS_ACCEL) {
|
||||
engine->outputChannels.debugFloatField1 = tpsFrom;
|
||||
engine->outputChannels.debugFloatField2 = tpsTo;
|
||||
engine->outputChannels.debugFloatField3 = valueFromTable;
|
||||
engine->outputChannels.debugFloatField4 = extraFuel;
|
||||
engine->outputChannels.debugFloatField5 = accumulatedValue;
|
||||
engine->outputChannels.debugFloatField6 = maxExtraPerPeriod;
|
||||
engine->outputChannels.debugFloatField7 = maxInjectedPerPeriod;
|
||||
engine->outputChannels.debugIntField1 = cycleCnt;
|
||||
}
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
|
||||
float mult = interpolate2d(rpm, config->tpsTspCorrValuesBins,
|
||||
config->tpsTspCorrValues);
|
||||
if (mult != 0 && (mult < 0.01 || mult > 100)) {
|
||||
|
|
Loading…
Reference in New Issue