diff --git a/firmware/controllers/trigger/trigger_honda.cpp b/firmware/controllers/trigger/trigger_honda.cpp index 974cbe4a27..8ff010e084 100644 --- a/firmware/controllers/trigger/trigger_honda.cpp +++ b/firmware/controllers/trigger/trigger_honda.cpp @@ -177,7 +177,9 @@ void configureHondaCbr600custom(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) { s->useOnlyPrimaryForSync = true; s->isSynchronizationNeeded = true; - s->setTriggerSynchronizationGap2(0.7, 1); + s->setTriggerSynchronizationGap2(0.7, 1.1); + + s->gapBothDirections = false; float a = 0; diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 1c8b2f84bd..41b9a5e63a 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -317,11 +317,11 @@ custom trigger_type_e 4 bits, U32, @OFFSET@, [0:4], @@trigger_type_e_enum@@ bit customNeedSecondTriggerInput; bit useOnlyFirstChannel;+This option could be used if your second trigger channel is broken - int customTotalToothCount;;"number", 1, 0.0, 0, 1000.0, 2 - int customSkippedToothCount;;"number", 1, 0.0, 0, 1000.0, 2 + int customTotalToothCount;;"number", 1, 0.0, 0, 500.0, 0 + int customSkippedToothCount;;"number", 1, 0.0, 0, 500.0, 0 - float customSyncRatioFrom;;"number", 1, 0.0, 0, 1000.0, 2 - float customSyncRatioTo;;"number", 1, 0.0, 0, 1000.0, 2 + float customSyncRatioFrom;;"number", 1, 0.0, 0, 1000.0, 4 + float customSyncRatioTo;;"number", 1, 0.0, 0, 1000.0, 4 bool32_t customUseRiseEdge; end_struct diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index 043c195782..69d428b702 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -42,7 +42,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 05 10:25:36 EDT 2016 +; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 12 08:35:53 EDT 2016 pageSize = 16376 page = 1 @@ -159,10 +159,10 @@ page = 1 trigger_customIsSynchronizationNeeded= bits, U32, 540, [0:0], "false", "true" trigger_customNeedSecondTriggerInput= bits, U32, 540, [1:1], "false", "true" trigger_useOnlyFirstChannel= bits, U32, 540, [2:2], "false", "true" - trigger_customTotalToothCount = scalar, S32, 544, "number", 1, 0.0, 0, 1000.0, 2 - trigger_customSkippedToothCount = scalar, S32, 548, "number", 1, 0.0, 0, 1000.0, 2 - trigger_customSyncRatioFrom = scalar, F32, 552, "number", 1, 0.0, 0, 1000.0, 2 - trigger_customSyncRatioTo = scalar, F32, 556, "number", 1, 0.0, 0, 1000.0, 2 + trigger_customTotalToothCount = scalar, S32, 544, "number", 1, 0.0, 0, 500.0, 0 + trigger_customSkippedToothCount = scalar, S32, 548, "number", 1, 0.0, 0, 500.0, 0 + trigger_customSyncRatioFrom = scalar, F32, 552, "number", 1, 0.0, 0, 1000.0, 4 + trigger_customSyncRatioTo = scalar, F32, 556, "number", 1, 0.0, 0, 1000.0, 4 trigger_customUseRiseEdge = bits, U32, 560, [0:0], "false", "true" hip9011SpiDevice = bits,U32, 564, [0:1], "Off", "SPI1", "SPI2", "SPI3" globalFuelCorrection = scalar, F32, 568, "coef", 1, 0.0, 0, 1000.0, 2