From 8d111fbd9870e119302e67714bc45cd64c22dda3 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 10 Sep 2018 22:29:43 -0400 Subject: [PATCH] typo --- firmware/controllers/system/efiGpio.cpp | 4 ++-- firmware/controllers/trigger/rpm_calculator.cpp | 2 +- firmware/controllers/trigger/rpm_calculator.h | 4 ++-- firmware/controllers/trigger/trigger_central.cpp | 6 +++--- firmware/development/wave_analyzer.cpp | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/firmware/controllers/system/efiGpio.cpp b/firmware/controllers/system/efiGpio.cpp index 97b5841902..955f285774 100644 --- a/firmware/controllers/system/efiGpio.cpp +++ b/firmware/controllers/system/efiGpio.cpp @@ -212,7 +212,7 @@ void NamedOutputPin::setHigh() { #if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__) - addEngineSniffferEvent(name, WC_UP); + addEngineSnifferEvent(name, WC_UP); #endif /* EFI_ENGINE_SNIFFER */ } @@ -227,7 +227,7 @@ void NamedOutputPin::setLow() { #endif /* EFI_DEFAILED_LOGGING */ #if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__) - addEngineSniffferEvent(name, WC_DOWN); + addEngineSnifferEvent(name, WC_DOWN); #endif /* EFI_ENGINE_SNIFFER */ } diff --git a/firmware/controllers/trigger/rpm_calculator.cpp b/firmware/controllers/trigger/rpm_calculator.cpp index 6a8c275cc5..a35679a67f 100644 --- a/firmware/controllers/trigger/rpm_calculator.cpp +++ b/firmware/controllers/trigger/rpm_calculator.cpp @@ -311,7 +311,7 @@ static char rpmBuffer[_MAX_FILLER]; */ static void onTdcCallback(void) { itoa10(rpmBuffer, getRpmE(engine)); - addEngineSniffferEvent(TOP_DEAD_CENTER_MESSAGE, (char* ) rpmBuffer); + addEngineSnifferEvent(TOP_DEAD_CENTER_MESSAGE, (char* ) rpmBuffer); } /** diff --git a/firmware/controllers/trigger/rpm_calculator.h b/firmware/controllers/trigger/rpm_calculator.h index c6263fd640..052714edcd 100644 --- a/firmware/controllers/trigger/rpm_calculator.h +++ b/firmware/controllers/trigger/rpm_calculator.h @@ -177,9 +177,9 @@ int getRevolutionCounter(void); #define isValidRpm(rpm) ((rpm) > 0 && (rpm) < UNREALISTIC_RPM) #if EFI_ENGINE_SNIFFER -#define addEngineSniffferEvent(name, msg) if (ENGINE(isEngineChartEnabled)) { waveChart.addEvent3((name), (msg)); } +#define addEngineSnifferEvent(name, msg) if (ENGINE(isEngineChartEnabled)) { waveChart.addEvent3((name), (msg)); } #else -#define addEngineSniffferEvent(n, msg) {} +#define addEngineSnifferEvent(n, msg) {} #endif /* EFI_ENGINE_SNIFFER */ void scheduleByAngle(int rpm, scheduling_s *timer, angle_t angle, schfunc_t callback, void *param, RpmCalculator *calc); diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index 6680f50eac..83de986c18 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -88,7 +88,7 @@ static efitick_t previousVvtCamTime = 0; static efitick_t previousVvtCamDuration = 0; void hwHandleVvtCamSignal(trigger_value_e front) { - addEngineSniffferEvent(VVT_NAME, front == TV_RISE ? WC_UP : WC_DOWN); + addEngineSnifferEvent(VVT_NAME, front == TV_RISE ? WC_UP : WC_DOWN); if (boardConfiguration->vvtCamSensorUseRise ^ (front != TV_FALL)) { return; @@ -244,11 +244,11 @@ static ALWAYS_INLINE void reportEventToWaveChart(trigger_event_e ckpSignalType, bool isUp = isUpEvent[(int) ckpSignalType]; shaft_signal_msg_index[0] = isUp ? 'u' : 'd'; - addEngineSniffferEvent(eventId[(int )ckpSignalType], (char* ) shaft_signal_msg_index); + addEngineSnifferEvent(eventId[(int )ckpSignalType], (char* ) shaft_signal_msg_index); if (engineConfiguration->useOnlyRisingEdgeForTrigger) { // let's add the opposite event right away shaft_signal_msg_index[0] = isUp ? 'd' : 'u'; - addEngineSniffferEvent(eventId[(int )ckpSignalType], (char* ) shaft_signal_msg_index); + addEngineSnifferEvent(eventId[(int )ckpSignalType], (char* ) shaft_signal_msg_index); } } diff --git a/firmware/development/wave_analyzer.cpp b/firmware/development/wave_analyzer.cpp index 1db6514db2..e5460703f1 100644 --- a/firmware/development/wave_analyzer.cpp +++ b/firmware/development/wave_analyzer.cpp @@ -61,7 +61,7 @@ static void waAnaWidthCallback(WaveReader *reader) { reader->riseEventCounter++; reader->lastActivityTimeUs = nowUs; assertIsrContext(CUSTOM_ERR_6670); - addEngineSniffferEvent(reader->name, WC_UP); + addEngineSnifferEvent(reader->name, WC_UP); uint32_t width = nowUs - reader->periodEventTimeUs; reader->last_wave_low_widthUs = width; @@ -75,7 +75,7 @@ void WaveReader::onFallEvent() { fallEventCounter++; lastActivityTimeUs = nowUs; assertIsrContext(CUSTOM_ERR_6670); - addEngineSniffferEvent(name, WC_DOWN); + addEngineSnifferEvent(name, WC_DOWN); efitick_t width = nowUs - widthEventTimeUs; last_wave_high_widthUs = width;