Skip to content

Commit 4d0696f

Browse files
committed
unused: waveChartUsedSize
1 parent 2469160 commit 4d0696f

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

firmware/controllers/algo/engine.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
#if EFI_ENGINE_SNIFFER
4848
#include "engine_sniffer.h"
49-
extern int waveChartUsedSize;
5049
extern WaveChart waveChart;
5150
#endif /* EFI_ENGINE_SNIFFER */
5251

firmware/controllers/settings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737

3838
#if EFI_ENGINE_SNIFFER
3939
#include "engine_sniffer.h"
40-
extern int waveChartUsedSize;
4140
extern WaveChart waveChart;
4241
#endif // EFI_ENGINE_SNIFFER
4342

firmware/development/engine_sniffer.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ extern WaveChart waveChart;
5757

5858
static char WAVE_LOGGING_BUFFER[WAVE_LOGGING_SIZE] CCM_OPTIONAL;
5959

60-
int waveChartUsedSize;
61-
6260
/**
6361
* We want to skip some engine cycles to skip what was scheduled before parameters were changed
6462
*/
@@ -136,7 +134,6 @@ void WaveChart::publishIfFull() {
136134
void WaveChart::publish() {
137135
#if EFI_ENGINE_SNIFFER
138136
logging.appendPrintf( LOG_DELIMITER);
139-
waveChartUsedSize = logging.loggingSize();
140137

141138
if (getTriggerCentral()->isEngineSnifferEnabled) {
142139
scheduleLogging(&logging);

0 commit comments

Comments
 (0)