From 7360840ece3b18322016a2815f5cf144b30ab6bd Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 12 Apr 2023 10:24:07 -0400 Subject: [PATCH] logging of live data structs was: data points, we are moving away from debug mode #3614 --- firmware/console/binary/output_channels.txt | 1 - firmware/console/status_loop.cpp | 2 -- firmware/tunerstudio/rusefi.input | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/firmware/console/binary/output_channels.txt b/firmware/console/binary/output_channels.txt index f4bd5fb91d..1faf57e41c 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -63,7 +63,6 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 5, 2 uint16_t autoscale baroPressure;;"kPa",{1/@@PACK_MULT_PRESSURE@@}, 0, 0, 0, 1 uint16_t autoscale lambdaValue;@@GAUGE_NAME_LAMBDA@@;"",{1/@@PACK_MULT_LAMBDA@@}, 0, 0, 0, 3 - uint8_t autoscale knockRetard;@@GAUGE_NAME_KNOCK_RETARD@@;"deg",{1/10}, 0, 0, 0, 1 uint8_t autoscale idleCurrentPosition;;"%", 0.5, 0, 0, 100, 1 uint16_t autoscale VBatt;@@GAUGE_NAME_VBAT@@;"V",{1/@@PACK_MULT_VOLTAGE@@}, 0, 0, 0, 2 diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index a090cf9dd8..f333dee205 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -607,8 +607,6 @@ static void updateIgnition(int rpm) { engine->outputChannels.ignitionAdvance = timing > FOUR_STROKE_CYCLE_DURATION / 2 ? timing - FOUR_STROKE_CYCLE_DURATION : timing; engine->outputChannels.coilDutyCycle = getCoilDutyCycle(rpm); - - engine->outputChannels.knockRetard = engine->module()->getKnockRetard(); } static void updateFlags() { diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 84a9526f82..b67ed659c5 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1448,7 +1448,7 @@ gaugeCategory = Knock knock11Gauge = knock11, "Knock Cyl 11", "dBv", -60, 10, -60, -60, 10, 10, 0, 0 knock12Gauge = knock12, "Knock Cyl 12", "dBv", -60, 10, -60, -60, 10, 10, 0, 0 knockLevelGauge = knockLevel,"Knock level", "dBv", -60, 10, -60, -60, 10, 10, 0, 0 - knockRetardGauge = knockRetard, "Knock retard", "deg", 0, 10, 0, 0, 10, 10, 1, 1 + knockRetardGauge = m_knockRetard, "Knock retard", "deg", 0, 10, 0, 0, 10, 10, 1, 1 knockCountGauge = m_knockCount, "Knock count", "count", 0, 10000, 0, 0, 10000, 10000, 0, 0 gaugeCategory = DynoView