send more of Engine Sniffer data #4560
This commit is contained in:
parent
074c6840dd
commit
066ac7e2ea
|
@ -335,9 +335,7 @@ void NamedOutputPin::setHigh() {
|
|||
setValue(true);
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
if (!engineConfiguration->engineSnifferFocusOnInputs) {
|
||||
addEngineSnifferEvent(getShortName(), PROTOCOL_ES_UP);
|
||||
}
|
||||
addEngineSnifferOutputPinEvent(this, FrontDirection::UP);
|
||||
#endif /* EFI_ENGINE_SNIFFER */
|
||||
}
|
||||
|
||||
|
@ -352,7 +350,7 @@ void NamedOutputPin::setLow() {
|
|||
setValue(false);
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
addEngineSnifferEvent(getShortName(), PROTOCOL_ES_DOWN);
|
||||
addEngineSnifferOutputPinEvent(this, FrontDirection::DOWN);
|
||||
#endif /* EFI_ENGINE_SNIFFER */
|
||||
}
|
||||
|
||||
|
|
|
@ -242,6 +242,12 @@ void initWaveChart(WaveChart *chart) {
|
|||
|
||||
#endif /* EFI_ENGINE_SNIFFER */
|
||||
|
||||
void addEngineSnifferOutputPinEvent(NamedOutputPin *pin, FrontDirection frontDirection) {
|
||||
if (!engineConfiguration->engineSnifferFocusOnInputs) {
|
||||
addEngineSnifferEvent(pin->getShortName(), frontDirection == FrontDirection::UP ? PROTOCOL_ES_UP : PROTOCOL_ES_DOWN);
|
||||
}
|
||||
}
|
||||
|
||||
void addEngineSnifferTdcEvent(int rpm) {
|
||||
static char rpmBuffer[_MAX_FILLER];
|
||||
itoa10(rpmBuffer, rpm);
|
||||
|
|
|
@ -25,7 +25,7 @@ void addEngineSnifferLogicAnalyzerEvent(int laIndex, FrontDirection frontDirecti
|
|||
*/
|
||||
void addEngineSnifferCrankEvent(int wheelIndex, int triggerEventIndex, FrontDirection frontDirection);
|
||||
void addEngineSnifferVvtEvent(int vvtIndex, FrontDirection frontDirection);
|
||||
void addEngineSnifferOutputPinEvent(int outputPinType, int isUp);
|
||||
void addEngineSnifferOutputPinEvent(NamedOutputPin *pin, FrontDirection frontDirection);
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
|
||||
|
|
Loading…
Reference in New Issue