From 029e2b098fefd57f05bb115a8e5c1f4380bd7cc4 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sun, 31 Dec 2017 20:13:20 -0500 Subject: [PATCH] docs --- firmware/controllers/algo/rusefi_enums.h | 8 ++++++++ firmware/controllers/trigger/decoders/trigger_nissan.cpp | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index a9a3f36d03..1a43310f12 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -218,6 +218,11 @@ typedef enum { TT_36_2_2_2 = 23, + /** + * only the 4 tooth signal, without the 360 signal + * 8,2,2,2 Nissan pattern + * See also TT_NISSAN_SR20VE_360 + */ TT_NISSAN_SR20VE = 24, TT_2JZ_3_34 = 25, @@ -255,6 +260,9 @@ typedef enum { TT_JEEP_18_2_2_2 = 37, + /* + * See also TT_NISSAN_SR20VE + */ TT_NISSAN_SR20VE_360 = 38, TT_UNUSED = 39, // this is used if we want to iterate over all trigger types diff --git a/firmware/controllers/trigger/decoders/trigger_nissan.cpp b/firmware/controllers/trigger/decoders/trigger_nissan.cpp index 2a34523f5c..3d3733d85e 100644 --- a/firmware/controllers/trigger/decoders/trigger_nissan.cpp +++ b/firmware/controllers/trigger/decoders/trigger_nissan.cpp @@ -1,6 +1,8 @@ /** * @file trigger_nissan.cpp * + * https://rusefi.com/forum/viewtopic.php?f=3&t=1194&start=150#p27784 + * * @date Sep 19, 2015 * @author Andrey Belomutskiy, (c) 2012-2017 */ @@ -8,6 +10,9 @@ #include "trigger_nissan.h" #include "trigger_universal.h" +/** + * 8,2,2,2 Nissan pattern + */ static void initializeNissanSR20VE_4_optional_360(TriggerShape *s, bool with2nd DECLARE_ENGINE_PARAMETER_SUFFIX) { s->initialize(FOUR_STROKE_CAM_SENSOR, with2nd); s->isSynchronizationNeeded = true;