From b4b87819935b3f55849fd7f77de53da94974a2e0 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 30 Jul 2020 11:31:49 -0700 Subject: [PATCH] log second tps --- firmware/console/binary_log/binary_logging.cpp | 1 + firmware/integration/rusefi_config.txt | 1 + firmware/tunerstudio/rusefi.input | 1 + 3 files changed, 3 insertions(+) diff --git a/firmware/console/binary_log/binary_logging.cpp b/firmware/console/binary_log/binary_logging.cpp index 155587b5ed..d14ed84637 100644 --- a/firmware/console/binary_log/binary_logging.cpp +++ b/firmware/console/binary_log/binary_logging.cpp @@ -17,6 +17,7 @@ static const LogField fields[] = { {tsOutputChannels.coolantTemperature, GAUGE_NAME_CLT, "C", 1}, {tsOutputChannels.intakeAirTemperature, GAUGE_NAME_IAT, "C", 1}, {tsOutputChannels.throttlePosition, GAUGE_NAME_TPS, "%", 2}, + {tsOutputChannels.throttle2Position, GAUGE_NAME_TPS2, "%", 2}, {tsOutputChannels.pedalPosition, GAUGE_NAME_THROTTLE_PEDAL, "%", 2}, {tsOutputChannels.manifoldAirPressure, GAUGE_NAME_MAP, "kPa", 1}, {tsOutputChannels.airFuelRatio, GAUGE_NAME_AFR, "afr", 2}, diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index dab82d4e18..e4816381ea 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1445,6 +1445,7 @@ end_struct #define GAUGE_NAME_CLT "CLT" #define GAUGE_NAME_IAT "IAT" #define GAUGE_NAME_TPS "TPS" +#define GAUGE_NAME_TPS2 "TPS2" #define GAUGE_NAME_MAP "MAP" #define GAUGE_NAME_MAF "MAF" #define GAUGE_NAME_ENGINE_LOAD "Engine Load" diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 781246a98f..6c87faffed 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1087,6 +1087,7 @@ gaugeCategory = Sensors - Raw entry = intake, @@GAUGE_NAME_IAT@@, float, "%.2f" entry = oilPressure, "Oil Press", float, "%.1f" entry = TPSValue, @@GAUGE_NAME_TPS@@, float, "%.2f" + entry = TPS2Value, @@GAUGE_NAME_TPS2@@, float, "%.2f" entry = MAFValue, @@GAUGE_NAME_MAF@@, float, "%.2f" entry = MAPValue, @@GAUGE_NAME_MAP@@, float, "%.1f" entry = AFRValue, @@GAUGE_NAME_AFR@@, float, "%.2f"