From e963340258582c07903ff317430a7d285e60bc60 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sat, 14 Mar 2015 12:05:26 -0500 Subject: [PATCH] auto-sync --- firmware/console/binary/tunerstudio.cpp | 1 + firmware/development/wave_chart.cpp | 3 +++ firmware/development/wave_chart.h | 1 + 3 files changed, 5 insertions(+) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 00b3ded0d7..5e3b06abcc 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -710,6 +710,7 @@ int tunerStudioHandleCrcCommand(ts_channel_s *tsChannel, char *data, int incomin static uint8_t tsCrcWriteBuffer[300]; void startTunerStudioConnectivity(Logging *sharedLogger) { + efiAssertVoid(sharedLogger!=NULL, "tsLogger"); tsLogger = sharedLogger; if (sizeof(engine_configuration_s) != getTunerStudioPageSize(0)) diff --git a/firmware/development/wave_chart.cpp b/firmware/development/wave_chart.cpp index 2860a8b1d2..5636721321 100644 --- a/firmware/development/wave_chart.cpp +++ b/firmware/development/wave_chart.cpp @@ -125,6 +125,9 @@ void WaveChart::publishChartIfFull() { } } +WaveChart::WaveChart() { +} + void WaveChart::init() { initLoggingExt(&logging, "wave chart", WAVE_LOGGING_BUFFER, sizeof(WAVE_LOGGING_BUFFER)); isInitialized = TRUE; diff --git a/firmware/development/wave_chart.h b/firmware/development/wave_chart.h index 45b01388da..ba84167322 100644 --- a/firmware/development/wave_chart.h +++ b/firmware/development/wave_chart.h @@ -19,6 +19,7 @@ */ class WaveChart { public: + WaveChart(); void init(); void publishChart(); void resetWaveChart();