From 4e4dd536a24fb5a68caa2fe86f43b93f7f1de1e9 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 14 Jan 2023 22:38:38 -0500 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 2c108bfce6..6ac1e1db1b 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -103,7 +103,6 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 5, 2 int16_t autoscale tpsAccelFuel;@@GAUGE_NAME_FUEL_TPS_EXTRA@@;"ms",{1/@@PACK_MULT_MS@@}, 0, 0, 0, 3 ! Ignition int16_t autoscale ignitionAdvance;@@GAUGE_NAME_TIMING_ADVANCE@@;"deg",{1/@@PACK_MULT_ANGLE@@}, 0, 0, 0, 1 - uint16_t autoscale sparkDwellValue;@@GAUGE_COIL_DWELL_TIME@@;"ms",{1/@@PACK_MULT_MS@@}, 0, 0, 0, 1 uint16_t autoscale coilDutyCycle;@@GAUGE_NAME_DWELL_DUTY@@;"%",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0 ! Idle & ETB diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index b3ae8a1553..42b221032a 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -604,8 +604,6 @@ static void updateIgnition(int rpm) { float timing = engine->engineState.timingAdvance[0]; // that's weird logic. also seems broken for two stroke? engine->outputChannels.ignitionAdvance = timing > FOUR_STROKE_CYCLE_DURATION / 2 ? timing - FOUR_STROKE_CYCLE_DURATION : timing; - // 60 - engine->outputChannels.sparkDwellValue = engine->engineState.sparkDwell; engine->outputChannels.coilDutyCycle = getCoilDutyCycle(rpm); diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index cff7939bf1..1c8f7493d1 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1333,7 +1333,7 @@ gaugeCategory = VVT gaugeCategory = Ignition sparkCutReasonGauge = sparkCutReason,"Spark Cut Code", "code", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0 ignadvGauge = ignitionAdvance, "Ignition timing", "degrees", -100, 100, -999, -999, 999, 999, 1, 1 - dwellGauge = sparkDwellValue, "Dwell", "mSec", 0, 10, 0.5, 1.0, 6.0, 8.0, 1, 1 + dwellGauge = sparkDwell, "Dwell", "mSec", 0, 10, 0.5, 1.0, 6.0, 8.0, 1, 1 coilDutyCycleGauge = coilDutyCycle, @@GAUGE_NAME_DWELL_DUTY@@, "%", 0, 110, 0, 0, 90, 100, 1, 1 ignitionLoadGauge = ignitionLoad, @@GAUGE_NAME_IGNITION_LOAD@@, "%", 0, 300, 0, 0, 300, 300, 1, 1