From 6f611acd15d79cd198e0860555d77df77adf1b75 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 2 Aug 2024 23:17:29 -0400 Subject: [PATCH] only:dead code --- firmware/console/status_loop.cpp | 21 +------------------ .../controllers/algo/accel_enrichment.cpp | 13 ------------ 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index 2197bea896..ad21860f8b 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -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; diff --git a/firmware/controllers/algo/accel_enrichment.cpp b/firmware/controllers/algo/accel_enrichment.cpp index 84e742c1ed..302cba08f8 100644 --- a/firmware/controllers/algo/accel_enrichment.cpp +++ b/firmware/controllers/algo/accel_enrichment.cpp @@ -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)) {