From 0bfa024b6d0e4ebbb1b85f44c14de03e71a53a87 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Fri, 13 Jan 2017 01:03:29 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/trigger/decoders/trigger_subaru.cpp | 3 ++- firmware/rusefi.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/trigger/decoders/trigger_subaru.cpp b/firmware/controllers/trigger/decoders/trigger_subaru.cpp index 610b96538d..32d13f8bad 100644 --- a/firmware/controllers/trigger/decoders/trigger_subaru.cpp +++ b/firmware/controllers/trigger/decoders/trigger_subaru.cpp @@ -107,7 +107,8 @@ void initializeSubaru7_6(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) { s->addEvent2(720 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER); s->addEvent2(720, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER); - s->setTriggerSynchronizationGap2(7, 9); + s->setTriggerSynchronizationGap2(5, 9); + s->setSecondTriggerSynchronizationGap2(0.6, 1); s->isSynchronizationNeeded = true; diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index af3fbee748..b2a4a5fc01 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -249,5 +249,5 @@ int getRusEfiVersion(void) { return 123; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE[0] * 0 != 0) return 3211; // this is here to make the compiler happy about the unused array - return 20170112; + return 20170113; }