From cc9a80d329b27c68fc1ef83f0976446600d4a872 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Thu, 2 Jun 2016 15:01:39 -0400 Subject: [PATCH] auto-sync --- firmware/console/status_loop.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index ae1e08d259..041787fab9 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -189,8 +189,8 @@ static void printSensors(Logging *log, bool fileFormat) { } #endif /* EFI_PROD_CODE */ - reportSensorF(log, fileFormat, "ks", "count", engine->knockCount, 0); - reportSensorF(log, fileFormat, "kv", "v", engine->knockVolts, 2); + reportSensorF(log, fileFormat, "knck_c", "count", engine->knockCount, 0); + reportSensorF(log, fileFormat, "knck_v", "v", engine->knockVolts, 2); // reportSensorF(log, fileFormat, "vref", "V", getVRef(engineConfiguration), 2); @@ -202,7 +202,8 @@ static void printSensors(Logging *log, bool fileFormat) { if (fileFormat) { reportSensorF(log, fileFormat, "tpsacc", "ms", engine->tpsAccelEnrichment.getTpsEnrichment(PASS_ENGINE_PARAMETER_F), 2); - reportSensorF(log, fileFormat, "advance", "deg", engine->tpsAccelEnrichment.getTpsEnrichment(PASS_ENGINE_PARAMETER_F), 2); + reportSensorF(log, fileFormat, "advance", "deg", engine->engineState.timingAdvance, 2); + reportSensorF(log, fileFormat, "duty", "%", getInjectorDutyCycle(rpm PASS_ENGINE_PARAMETER), 2); } if (engineConfiguration->hasCltSensor) {