From 4b51aa738f991fe4eab5e4da99450e182dd4c917 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 5 Jul 2017 21:23:54 -0400 Subject: [PATCH] partial rollback - would it resolve issues? --- firmware/controllers/trigger/trigger_emulator_algo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/trigger/trigger_emulator_algo.cpp b/firmware/controllers/trigger/trigger_emulator_algo.cpp index 3b3ab416ab..e6289ae74f 100644 --- a/firmware/controllers/trigger/trigger_emulator_algo.cpp +++ b/firmware/controllers/trigger/trigger_emulator_algo.cpp @@ -121,7 +121,7 @@ void setTriggerEmulatorRPM(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX) { } static void updateTriggerShapeIfNeeded(PwmConfig *state) { - if (checkIfTriggerConfigChanged()) { + if (emulatorConfigVersion.isOld()) { scheduleMsg(logger, "Stimulator: updating trigger shape: %d/%d %d", emulatorConfigVersion.getVersion(), getGlobalConfigurationVersion(), currentTimeMillis());