From 40ab0cd8f47f6df22a2ed3f10d16e3dd0974a131 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sat, 13 Sep 2014 22:02:44 -0500 Subject: [PATCH] auto-sync --- firmware/emulation/trigger_emulator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/emulation/trigger_emulator.cpp b/firmware/emulation/trigger_emulator.cpp index 27d47e7663..354f2a39a9 100644 --- a/firmware/emulation/trigger_emulator.cpp +++ b/firmware/emulation/trigger_emulator.cpp @@ -61,11 +61,10 @@ static TriggerEmulatorHelper helper; #if EFI_EMULATE_POSITION_SENSORS || defined(__DOXYGEN__) static void emulatorApplyPinState(PwmConfig *state, int stateIndex) { + applyPinState(state, stateIndex); if (engineConfiguration->directSelfStimulation) { helper.handleEmulatorCallback(state, stateIndex); } - - applyPinState(state, stateIndex); } #endif /* EFI_EMULATE_POSITION_SENSORS */