From f457417e45c867c62a0a1215d263207d1eb5863d Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 9 Jul 2019 07:52:20 -0400 Subject: [PATCH] dead logic --- firmware/development/engine_sniffer.cpp | 3 +-- firmware/development/sensor_chart.cpp | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/firmware/development/engine_sniffer.cpp b/firmware/development/engine_sniffer.cpp index d5fc35f2aa..dca046ed26 100644 --- a/firmware/development/engine_sniffer.cpp +++ b/firmware/development/engine_sniffer.cpp @@ -156,8 +156,7 @@ void WaveChart::publish() { Logging *l = &chart->logging; scheduleSimpleMsg(&debugLogging, "IT'S TIME", strlen(l->buffer)); #endif - bool isFullLog = getFullLog(); - if (ENGINE(isEngineChartEnabled) && isFullLog) { + if (ENGINE(isEngineChartEnabled)) { scheduleLogging(&logging); } } diff --git a/firmware/development/sensor_chart.cpp b/firmware/development/sensor_chart.cpp index 21cc728456..b728af810a 100644 --- a/firmware/development/sensor_chart.cpp +++ b/firmware/development/sensor_chart.cpp @@ -51,9 +51,7 @@ void scAddData(float angle, float value) { // message terminator appendPrintf(&scLogging, DELIMETER); // output pending data - if (getFullLog()) { - scheduleLogging(&scLogging); - } + scheduleLogging(&scLogging); pendingData = false; } return;