typo
This commit is contained in:
parent
d25ba6a3ef
commit
8d111fbd98
|
@ -212,7 +212,7 @@ void NamedOutputPin::setHigh() {
|
||||||
|
|
||||||
#if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__)
|
#if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__)
|
||||||
|
|
||||||
addEngineSniffferEvent(name, WC_UP);
|
addEngineSnifferEvent(name, WC_UP);
|
||||||
#endif /* EFI_ENGINE_SNIFFER */
|
#endif /* EFI_ENGINE_SNIFFER */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -227,7 +227,7 @@ void NamedOutputPin::setLow() {
|
||||||
#endif /* EFI_DEFAILED_LOGGING */
|
#endif /* EFI_DEFAILED_LOGGING */
|
||||||
|
|
||||||
#if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__)
|
#if EFI_ENGINE_SNIFFER || defined(__DOXYGEN__)
|
||||||
addEngineSniffferEvent(name, WC_DOWN);
|
addEngineSnifferEvent(name, WC_DOWN);
|
||||||
#endif /* EFI_ENGINE_SNIFFER */
|
#endif /* EFI_ENGINE_SNIFFER */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@ static char rpmBuffer[_MAX_FILLER];
|
||||||
*/
|
*/
|
||||||
static void onTdcCallback(void) {
|
static void onTdcCallback(void) {
|
||||||
itoa10(rpmBuffer, getRpmE(engine));
|
itoa10(rpmBuffer, getRpmE(engine));
|
||||||
addEngineSniffferEvent(TOP_DEAD_CENTER_MESSAGE, (char* ) rpmBuffer);
|
addEngineSnifferEvent(TOP_DEAD_CENTER_MESSAGE, (char* ) rpmBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -177,9 +177,9 @@ int getRevolutionCounter(void);
|
||||||
#define isValidRpm(rpm) ((rpm) > 0 && (rpm) < UNREALISTIC_RPM)
|
#define isValidRpm(rpm) ((rpm) > 0 && (rpm) < UNREALISTIC_RPM)
|
||||||
|
|
||||||
#if EFI_ENGINE_SNIFFER
|
#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
|
#else
|
||||||
#define addEngineSniffferEvent(n, msg) {}
|
#define addEngineSnifferEvent(n, msg) {}
|
||||||
#endif /* EFI_ENGINE_SNIFFER */
|
#endif /* EFI_ENGINE_SNIFFER */
|
||||||
|
|
||||||
void scheduleByAngle(int rpm, scheduling_s *timer, angle_t angle, schfunc_t callback, void *param, RpmCalculator *calc);
|
void scheduleByAngle(int rpm, scheduling_s *timer, angle_t angle, schfunc_t callback, void *param, RpmCalculator *calc);
|
||||||
|
|
|
@ -88,7 +88,7 @@ static efitick_t previousVvtCamTime = 0;
|
||||||
static efitick_t previousVvtCamDuration = 0;
|
static efitick_t previousVvtCamDuration = 0;
|
||||||
|
|
||||||
void hwHandleVvtCamSignal(trigger_value_e front) {
|
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)) {
|
if (boardConfiguration->vvtCamSensorUseRise ^ (front != TV_FALL)) {
|
||||||
return;
|
return;
|
||||||
|
@ -244,11 +244,11 @@ static ALWAYS_INLINE void reportEventToWaveChart(trigger_event_e ckpSignalType,
|
||||||
bool isUp = isUpEvent[(int) ckpSignalType];
|
bool isUp = isUpEvent[(int) ckpSignalType];
|
||||||
shaft_signal_msg_index[0] = isUp ? 'u' : 'd';
|
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) {
|
if (engineConfiguration->useOnlyRisingEdgeForTrigger) {
|
||||||
// let's add the opposite event right away
|
// let's add the opposite event right away
|
||||||
shaft_signal_msg_index[0] = isUp ? 'd' : 'u';
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ static void waAnaWidthCallback(WaveReader *reader) {
|
||||||
reader->riseEventCounter++;
|
reader->riseEventCounter++;
|
||||||
reader->lastActivityTimeUs = nowUs;
|
reader->lastActivityTimeUs = nowUs;
|
||||||
assertIsrContext(CUSTOM_ERR_6670);
|
assertIsrContext(CUSTOM_ERR_6670);
|
||||||
addEngineSniffferEvent(reader->name, WC_UP);
|
addEngineSnifferEvent(reader->name, WC_UP);
|
||||||
|
|
||||||
uint32_t width = nowUs - reader->periodEventTimeUs;
|
uint32_t width = nowUs - reader->periodEventTimeUs;
|
||||||
reader->last_wave_low_widthUs = width;
|
reader->last_wave_low_widthUs = width;
|
||||||
|
@ -75,7 +75,7 @@ void WaveReader::onFallEvent() {
|
||||||
fallEventCounter++;
|
fallEventCounter++;
|
||||||
lastActivityTimeUs = nowUs;
|
lastActivityTimeUs = nowUs;
|
||||||
assertIsrContext(CUSTOM_ERR_6670);
|
assertIsrContext(CUSTOM_ERR_6670);
|
||||||
addEngineSniffferEvent(name, WC_DOWN);
|
addEngineSnifferEvent(name, WC_DOWN);
|
||||||
|
|
||||||
efitick_t width = nowUs - widthEventTimeUs;
|
efitick_t width = nowUs - widthEventTimeUs;
|
||||||
last_wave_high_widthUs = width;
|
last_wave_high_widthUs = width;
|
||||||
|
|
Loading…
Reference in New Issue