Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rusEfi committed Jan 1, 2018
1 parent d9fee11 commit 029e2b0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions firmware/controllers/algo/rusefi_enums.h
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions firmware/controllers/trigger/decoders/trigger_nissan.cpp
@@ -1,13 +1,18 @@
/**
* @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
*/

#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;
Expand Down

0 comments on commit 029e2b0

Please sign in to comment.