diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index b8f98fb70e..f9c686627c 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -722,14 +722,8 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco uint16_t subsystem = SWAP_UINT16(data16[0]); uint16_t index = SWAP_UINT16(data16[1]); - if (engineConfiguration->debugMode == DBG_BENCH_TEST) { - engine->outputChannels.debugIntField1++; - engine->outputChannels.debugIntField2 = subsystem; - engine->outputChannels.debugIntField3 = index; - } - #if EFI_PROD_CODE && EFI_ENGINE_CONTROL - executeTSCommand(subsystem, index); + executeTSCommand(subsystem, index); #endif /* EFI_PROD_CODE */ sendOkResponse(tsChannel, TS_CRC); } diff --git a/firmware/controllers/algo/wall_fuel.cpp b/firmware/controllers/algo/wall_fuel.cpp index 9e83d73947..ba6867cf0d 100644 --- a/firmware/controllers/algo/wall_fuel.cpp +++ b/firmware/controllers/algo/wall_fuel.cpp @@ -54,13 +54,6 @@ float WallFuel::adjust(float desiredMassGrams) { float fuelFilmMass = wallFuel; float M_cmd = (desiredMassGrams - (1 - alpha) * fuelFilmMass) / (1 - beta); -#if EFI_TUNER_STUDIO - if (engineConfiguration->debugMode == DBG_KNOCK) { - engine->outputChannels.debugFloatField3 = fuelFilmMass; - engine->outputChannels.debugFloatField4 = M_cmd; - } -#endif // EFI_TUNER_STUDIO - // We can't inject a negative amount of fuel // If this goes below zero we will be over-fueling slightly, // but that's ok. @@ -71,12 +64,6 @@ float WallFuel::adjust(float desiredMassGrams) { // remainder on walls from last time + new from this time float fuelFilmMassNext = alpha * fuelFilmMass + beta * M_cmd; -#if EFI_TUNER_STUDIO - if (engineConfiguration->debugMode == DBG_KNOCK) { - engine->outputChannels.debugFloatField5 = fuelFilmMassNext; - } -#endif // EFI_TUNER_STUDIO - wallFuel = fuelFilmMassNext; wallFuelCorrection = M_cmd - desiredMassGrams; return M_cmd; @@ -185,12 +172,4 @@ void WallFuelController::onFastCallback() { m_alpha = alpha; m_beta = beta; m_enable = true; - -#if EFI_TUNER_STUDIO - // TODO: why DBG_KNOCK? That seems wrong. - if (engineConfiguration->debugMode == DBG_KNOCK) { - engine->outputChannels.debugFloatField1 = alpha; - engine->outputChannels.debugFloatField2 = beta; - } -#endif // EFI_TUNER_STUDIO } diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index 6f36854669..746039bbf6 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -546,12 +546,6 @@ void mlgLogger() { } #endif - if (engineConfiguration->debugMode == DBG_SD_CARD) { - engine->outputChannels.debugIntField1 = totalLoggedBytes; - engine->outputChannels.debugIntField2 = totalWritesCounter; - engine->outputChannels.debugIntField3 = totalSyncCounter; - engine->outputChannels.debugIntField4 = fileCreatedCounter; - } writeSdLogLine(logBuffer);