fixing build
This commit is contained in:
parent
ccc26f2b21
commit
80a780a190
|
@ -116,14 +116,17 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt DECLARE_ENGINE_
|
|||
if (CONFIG(vvtCamSensorUseRise)) {
|
||||
// todo: unify TS composite logger code with console Engine Sniffer
|
||||
// todo: better API to reduce copy/paste?
|
||||
#if EFI_TOOTH_LOGGER
|
||||
LogTriggerTooth(SHAFT_SECONDARY_RISING, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
LogTriggerTooth(SHAFT_SECONDARY_FALLING, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
#endif /* EFI_TOOTH_LOGGER */
|
||||
addEngineSnifferEvent(PROTOCOL_VVT_NAME, PROTOCOL_ES_UP);
|
||||
addEngineSnifferEvent(PROTOCOL_VVT_NAME, PROTOCOL_ES_DOWN);
|
||||
} else {
|
||||
#if EFI_TOOTH_LOGGER
|
||||
LogTriggerTooth(SHAFT_SECONDARY_FALLING, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
LogTriggerTooth(SHAFT_SECONDARY_RISING, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
#endif /* EFI_TOOTH_LOGGER */
|
||||
|
||||
addEngineSnifferEvent(PROTOCOL_VVT_NAME, PROTOCOL_ES_DOWN);
|
||||
addEngineSnifferEvent(PROTOCOL_VVT_NAME, PROTOCOL_ES_UP);
|
||||
|
|
Loading…
Reference in New Issue